@chengyensheng your problem is that you do NOT follow instructions.
You have entered absurd values like 192 years in Database Settings.
You should set up you your database AS INSTRUCTED in the video
and in the manual:
Other configurations than specified in the video and manual are NOT supported
IQfeed is REAL TIME streaming data source, NOT EOD only. You need to configure it as "MIXED Intraday/EOD mode" as it is written in the manual with base interval 1-minute and then you will get BOTH intraday data and long EOD data in single database without need to keep two databases.
If you followed instructions from the beginning you would not cause problems.
If you want to use EOD-only it would work just fine if only you entered SANE values like 5000 EOD bars (19 years) instead of 192 years. If you did that you would get data from 1991 and even older.
Thank you Tomasz.
It fix my problem.
Thank you so much.
Hi, Regarding IQ Feed and Minute Data:
I have setup IQ Feed directly as described, however I only get a few days of historic minute data.
I'm currently on the IQ Feed trial, but I don't believe that is the issue?
Daily data (when db is configured for 1 min data) only goes back a year (I have mixed intraday/eod mode) as described above, so I guess that is where daily data is coming from.
I have even tried the 'wait for backfill' for a few stocks, as described here, but it's not pulling any historic data'.
What am I doing wrong, I'd like to see the full history of minute data. ??
Thanks very much,
You should post picture of your database settings. Readers do not see your screen.
Apparently you have not followed exactly because if you only get few days of 1-minute data then you seem to have set improper number of bars setting in order to get multiple years of 1-minute data.
You need to do the (correct) math. If you can't do correct math then that would not be problem as there is online data calculator, see here.
Now, if you need multi years of very short interval intra-day data (such as 1-tick, 1-sec, ..., 1- min) in addition you would have to read here (How to increase number of bars).
So if you want to get e.g. 10 years of (24h) 1-minute data you would have to set number of bars to 3800000. But be aware of data size and whether your hardware can handle it.
@fxshrat is NOT rude. His reply is exactly to the point. What is rude is your reply to his generous help. You should send screenshot because often people don't notice important details and you should follow his advice. See How to ask a good question
As attached, I assume I should get more than 3 days of 1 minute data based on this.
It's obvious that readers can't see my screen. This wasn't posted because I've tried multiple numbers of bars with the same result.
Second link seems out of date, that option is not available in reg edit as far as I can tell.
Also seems unfair to judge and say I haven't set it up right before we work that out, but whatever.
Thanks for trying, might be an IQ Feed trial limitation.
Now your screenshot proves that you missed important detail and why
sending screenshots is extremely useful:
This figure applies to Intraday data only. Not "Mixed EOD/Intraday" mode. Mixed EOD/Intraday mode requires A LOT more bars because EOD bars take space too (by default 10+ years of EOD data - and they take the "preference").
Also after increasing "Number of bars" you would need to do "Force backfill" for every symbol. Or better, setup new database with at least 500K bars in "Number of bars"
And ALL links given by @fxshrat work and REGEDIT works too. Just take a couple more minutes to actually follow his earlier advice instead just throwing it out of the window.\
For example with this setting (900K bars):
I got intraday chart like this:
As can be seen there are INTRADAY data starting from mid-2014 (above), and EOD data starting from mid-2008 (below).
And the plugin status shows exactly 900K bars available:
No, that's incorrect. It is not outdated. You have to read it carefully. As it is said in that 2nd link it's a Windows registry entry that you have to set there in registry. It is clearly mentioned that it has to be set by yourself (see the 7 steps there). Of course it is not there if you have not set it yet. Simply do not rush but please take your time to carefully read a post (that has taken time to write).
No one is judging. You simply did not post a picture. "All" it was asked for was to post picture. "Exactly" can mean different things for many people saying "I did/followed exactly".
Please read the first word
How is that judging considering your limited information (limited because it needed guessing by reader) before my response?
Now that one is funny (to me). If it is that obvious then why not taking the (small amount of) time to make reader see something in the dark. (BTW other people would consider that quote of yours being rude).
Ok, so, it's great that we can talk robustly, make a few assumptions, but still actually take the time to help one another, that's a great thing - I will always help where I can. I do thank you both and apologize for anything I've missed.
Super sorry for missing the Reg Edit creation thing FX, I did miss that.
Everything else still seems to be right though?
I did mention that I had tried many combinations / lengths of history in the db setup dialog box. I posted that one image because those params are exactly as per the instructions (and it keeps being repeated that one should follow instructions) here:
and also here
To prove I've tried a few things, here are a few more screenshots, note that I still only get a few days of minute data:
So I'd assume that I wouldn't need the regedit change to at least get more than 3 days of data, but in any case, in addition to the above, I have just changed the regedit as described.
I went back to AB, opened database settings, put in new values, but I still don't get any more data.
I'm a little confused about the 'force backfill' comments. I only have two symbols in the db so far. They have been added just by creating a new chart. Further, I right-clicked and hit 'force backfill', is that not sufficient?
As per manual:
Using plugin context menu
Force backfill - this option causes that plugin re-downloads entire (intraday) history from the server. Usually the plugin automatically handles all backfills so you don't need to trigger backfills by hand. If the plugin detects that you have some missing quotes from last available bar till current date/time it triggers backfills and it is all automatic. But... in at least two cases this option is useful:
backfilling more bars after settings change (when you enlarge 'number of bars to load' in File->Database Settings dialog you have to force backfill for symbols that were backfilled previously with smaller number of bars)
- cleaning up bad ticks (when you see a bad tick you may try forcing backfill in hope that data vendor has cleaned up its database and you will get fixed data - works well for eSignal that really appears to fix bad ticks after they happen)
Once you click "Force backfill" you should see in the IQFeed plugin window that is actually displaying that bars are backfilled like this:
Now, if you cannot get it to work. Please create a NEW database, and follow this is entire sequence that is required to setup IQFeed intraday database with mixed mode:
Thanks very much Tomasz,
I was careful to do all of this, including trying the creation of a new database, before even my first post. I did exactly as you described. : )
The only other clue might be that I never see the "Backfilling", I only see "History Arrived" (perhaps because it's so short and it downloads so quick?).
I will wait to see what IQ Feed says I guess.
When you switch to "Daily" interval, how many years do you see?
With the database created for minute data, if I just switch to Daily on the chart interval, I see data back to the 7th of December 2017 only.
You have never mentioned what version are you using?
It's Version 6.20.1
32bit or 64-bit? Anyway I just reinstalled old version 6.20 64-bit to re-check if there are any problems and it worked just fine. With 1M (million) bars it goes back to 2009 Intraday (10 years).
Maybe you've got other components outdated (like IQClient)
You need to check with IQFeed if they are NOT limiting trial users. I can't check because I don't have trial. I have full fledged account and everything just works.
IQ Feed just responded .... Yes, there is a limited amount of data while on the trial !!!
A few more tips for anyone trying this:
- IQ minute data generally goes back to about 2007. I couldn't get the full history until I increased the MaxBars in the db to about 2 million.
- I had to delete the trial database and create a new one once I signed up for the full subscription, othewise the procedure outlined here to automatically force back-fill for multiple stocks didn't seem to work.
- I was then able to create watch-lists for multiple stocks and back-fill for all stocks in the watch-list at once.
With regards to 2 million bars - that actually depends on version you are using and the symbol you are trying (how many trading hours it has). The instrument that trades 24 hours will need 4x more bars per day than instrument that trades 6 hours per day. See On-line Data size calculator . In theory if symbol very actively trades 24 hours per day so it receives maximum 1440 1-minute bars per day, you would have 374400 bars per year (approx. 260 trading days in a year), so even 3.7M bars for 10 years
As to the version you are using older version of the plugin (shipped with 6.20). AmiBroker 6.30 ships with newer version of the plugin (that uses slightly newer IQFeed API) and full history (at least for NYSE stocks) requires approx 1.3M bars