NexusFi: Find Your Edge


Home Menu

 





Best way to temporary store IQFeed data in C#


Discussion in TradeStation

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




 
Search this Thread

Best way to temporary store IQFeed data in C#

  #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?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
Cheap historycal L1 data for stocks
Stocks and ETFs
Quant vue
Trading Reviews and Vendors
 
  #2 (permalink)
 iq200 
London, UK
 
Experience: Intermediate
Platform: Ninjatrader, Tradestation
Broker: Kinetick, InteractiveBrokers
Trading: Equities, Futures
Posts: 408 since Jun 2010
Thanks Given: 145
Thanks Received: 278

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


Sent from my iPhone using futures.io

Follow me on Twitter 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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863



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


Sent from my iPhone using futures.io

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 Twitter 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: 408 since Jun 2010
Thanks Given: 145
Thanks Received: 278

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 futures.io

Follow me on Twitter 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: 3,003 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,863


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 futures.io

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 Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on July 3, 2018


© 2024 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 - Privacy Policy - Downloads - Top
no new posts