Skip to content

Commit 6db1fe6

Browse files
authored
Update example_api.py
To get the 1 minute data use "api.get_intraday_historical_data"
1 parent 573c670 commit 6db1fe6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def main() -> None:
1919
# print(resp.dtypes)
2020
# print(resp.describe())
2121

22-
resp = api.get_historical_data("BTC-USD.CC", "1h")
22+
resp = api.get_intraday_historical_data('BTC-USD.CC','1m')
2323
# resp = api.get_historical_data("BTC-USD.CC", "1m", "2021-11-27 23:56:00")
2424
# resp = api.get_historical_data("BTC-USD.CC", "1m", "2021-11-27 23:56:00", "2021-11-27 23:59:00")
2525
print(resp)

0 commit comments

Comments
 (0)