Joined: |
Apr 29, 2020 10:58 AM |
Last Post: |
May 5, 2020 10:50 AM |
Last Visit: |
May 5, 2020 07:50 PM |
Website: |
|
Location: |
|
Occupation: |
|
Interests: |
|
Avatar: |
Named must your fear be before banish it you can.
|
|
AIM: |
|
ICQ: |
|
MSN IM: |
|
Yahoo IM: |
|
|
Seventy77seven has contributed to 2 posts out of 21251 total posts
(0.01%) in 1,903 days (0.00 posts per day).
20 Most recent posts:
Thanks for the reply. Reading the API documentation says that there are three requests, namely "t" for tick "s" for second and maybe "D?" This led me to believe that the appropriate minute bar request is a 60 second request. This is the code....
get_historical_bar_data(symbol=val[0], bar_len=60, bar_unit='s', num_bars=100)
I am not sure how to answer your "protocol," question. I am working with python and postgres to pull and process the data.
Mike
Hi,
I am attempting to configure my API code to pull Futures Market data daily and process. I am using python to connect and insert data into a Postgres table. The problem I am having is that when the data (minute bars) is pulled using this code, the timestamp is formatted as a large number (maybe integer) that appears to be a count of microseconds. This is strange because when I hand pulled the same data from IQfeed and downloaded a csv file the timestamp was formatted correctly with yy/mm/dd/hh/min/sec. Do you have any clues for me to get this format passed correctly in to a Postgres table? Coding is not my greatest strength so any help would be appreciated.
Thanks Mike
Mike
|
|