Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
Viewing User Profile for: Seventy77seven
About Contact
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:
Post Statistics
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:
IQFeed Developer Support » Time Stamp Data Type Formatting May 5, 2020 10:50 AM (Total replies: 3)

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

IQFeed Developer Support » Time Stamp Data Type Formatting Apr 29, 2020 11:11 AM (Total replies: 3)

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


Time: Mon July 14, 2025 10:33 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003