Display historical data in example query rather than saving a CSV file

This commit is contained in:
moshferatu 2024-03-30 06:11:10 -07:00
parent 04721ae4fe
commit 9fed98b37d

View File

@ -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)