import { DataSource } from './entities' ; export default { rest : { account : 'https://api.alpaca.markets/v2' , market_data_v2 : 'https://data.alpaca.markets/v2' , market_data_v1 : 'https://data.alpaca.markets/v1' , } , websocket : { account : 'wss://api.alpaca.markets/stream' , market_data : ( source = 'iex' ) => `wss://stream.data.alpaca.markets/v2/${ source }` , } , } ;