I have a python script downloading 750 instruments from IQFeed (1 month history of 1 minute data) , store data in database, compute statistics and update instrument with latest data and statistics. This take about 25-30 seconds. So I can scan this list every few minutes.
On the same list of instrument, if I do a backfill of the data to explore in AB, it takes 13 minutes. How could I optimize it to get similar time ?
Thanks @Milosz. Yes I do have the local data storage activated, but it seems to be refetching data every time I scan. I have activated option ‘wait for backfill’ but I think it will only get new data. And as I sent to support I have got also a weird behavior on the last bar, so maybe there is something wrong with my setup.
Registered (purchased) version of AmiBroker does NOT refetch data that was already downloaded before. But for that to work database saving must be enabled.
@traderlabs - we don’t have your email in registered users list.
Saving is disabled in TRIAL / unregistered edition.
The only way to “optimize” it is to buy the program.
And you also need to make sure that you have run FULL SETUP of AmiBroker instead of copying files from somewhere. If you fail to use full setup, your database may be READ ONLY (i.e. blocked by Windows User Access Control “feature” from writing).