Display historical data in example query rather than saving a CSV file
This commit is contained in:
parent
04721ae4fe
commit
9fed98b37d
@ -98,4 +98,4 @@ if __name__ == '__main__':
|
|||||||
end_date = datetime(2023, 1, 31, 16, 0)
|
end_date = datetime(2023, 1, 31, 16, 0)
|
||||||
for symbol in symbols:
|
for symbol in symbols:
|
||||||
data = get_historical_data(symbol, minutes(5), start_date, end_date)
|
data = get_historical_data(symbol, minutes(5), start_date, end_date)
|
||||||
data.to_csv(symbol + '.csv')
|
print(data)
|
||||||
|
Loading…
Reference in New Issue
Block a user