From 3ffa498348259e11781254bf352fd49b4decaaee Mon Sep 17 00:00:00 2001 From: moshferatu Date: Fri, 22 Nov 2024 11:43:24 -0800 Subject: [PATCH] Add lists of columns available for IQFeed lookups --- iqfeed/iqfeed.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iqfeed/iqfeed.py b/iqfeed/iqfeed.py index 32dfd60..7f3869a 100644 --- a/iqfeed/iqfeed.py +++ b/iqfeed/iqfeed.py @@ -8,7 +8,9 @@ from os import getenv load_dotenv() -columns = ['Date', 'High', 'Low', 'Open', 'Close', 'Total Volume', 'Period Volume'] +daily_columns = ['Date', 'Open', 'High', 'Low', 'Close', 'Volume'] +intraday_columns = ['Date', 'Time', 'Open', 'High', 'Low', 'Close', 'Volume'] +iqfeed_columns = ['Date', 'High', 'Low', 'Open', 'Close', 'Total Volume', 'Period Volume'] def read_data_from_socket(sock, recv_buffer = 4096): buffer = b''