Skip to content

Commit

Permalink
more doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
haxdds committed Mar 8, 2023
1 parent 2bf4c51 commit 314fad6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/market_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ You can convert the response to a multi-index pandas dataframe using the ``.df``
request_params = CryptoBarsRequest(
symbol_or_symbols=["BTC/USD", "ETH/USD"],
timeframe=TimeFrame.Day,
start=datetime(2022, 7, 1)
start=datetime(2022, 7, 1),
end=datetime(2022, 9, 1)
)
bars = client.get_crypto_bars(request_params)
Expand Down Expand Up @@ -182,7 +183,7 @@ Finally, you will need to call the ``run`` method to start receiving data.
wss_client = StockDataStream('api-key', 'secret-key')
# async handler
async def quote_data_handler(data: Any):
async def quote_data_handler(data):
# quote data will arrive here
print(data)
Expand Down

0 comments on commit 314fad6

Please sign in to comment.