NexusFi: Find Your Edge


Home Menu

 





Best way to temporary store IQFeed data in C#


Discussion in TradeStation

Updated
    1. trending_up 2,227 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
Aziz
delhi india
 
Posts: 13 since Aug 2017
Thanks Given: 2
Thanks Received: 1

I have to get historical data from the IQFeed. Since I am not yet registered so I don't know what volume of data would arrive from the feed - I would appreciate if someone can suggest/advice the best way to save the data temporary in memory in some collection or any other container so that I can use it and bind it to my chart.
I am doing the coding in C# visual studio framework 4.5.

Please suggest where/how should use that data? Which container would be best to store it?

Thanks


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
CFTC Requests Tag 50 Trader Identity Data From CME and I …
Traders Hideout
Iran Fired a Missile at Israel Last Night. The $8M June …
Prediction Markets & Event Contracts
Six Days to Kickoff: World Cup Prediction Markets Hit $1 …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #2 (permalink)
 iq200 
London, UK
 
Experience: Intermediate
Platform: Ninjatrader, Tradestation
Broker: Kinetick, InteractiveBrokers
Trading: Equities, Futures
Posts: 418 since Jun 2010
Thanks Given: 146
Thanks Received: 287

I believe iqfeed do an api version of the data feed for developers.


Sent from my iPhone using NexusFi


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,860



iq200 View Post
I believe iqfeed do an api version of the data feed for developers.


Sent from my iPhone using NexusFi

Yes that is correct, i can confirm that.

With regards to the question, it depends what you want to do and what is your need.
you will typically request historic data through the API and going forward take in the
live feed. (take into consideration that during peak moments, you will not be able to
take more than 14 days of historical tick data)

What i do in my modules is store time series, i process the incoming data and store
them in different candles as time series (5min, order flow, tick, etc...)

While it is possible to download all the data at every start of your modules, you may
also think later how you will make the data persistant, to avoid downloading it every
single time.


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 iq200 
London, UK
 
Experience: Intermediate
Platform: Ninjatrader, Tradestation
Broker: Kinetick, InteractiveBrokers
Trading: Equities, Futures
Posts: 418 since Jun 2010
Thanks Given: 146
Thanks Received: 287

Hi Ron - I know this thread is quite old, but do you store data in separate tables of each timeframe or tick size. eg 5min in a separate table, 1 min in separate table (similar for tick data) or do u put min data in one table,tick data in another table etc...
Thanks
iq


Sent from my iPhone using NexusFi


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,860


iq200 View Post
Hi Ron - I know this thread is quite old, but do you store data in separate tables of each timeframe or tick size. eg 5min in a separate table, 1 min in separate table (similar for tick data) or do u put min data in one table,tick data in another table etc...
Thanks
iq


Sent from my iPhone using NexusFi

My robot reads in real-time from the IQfeed client.

I log all data to flat files for later back -testing (real-time book is not available when loading history)
and in the memory of the robot i have tables per time-frame that i need (bar types / tmf)

In those tables i also store calculated indicators.

I can run my robot in back-test mode and read the flat files, like the data would come from IQfeed


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on July 3, 2018


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts