|
Hello,
Real-time data are generally delivered on demand.
Getting data needs subscription to given symbol, only then you can get current price.
If you call GetRTDataForeign for more than 100 symbols in IB (their limit) it will
subscribe new / unsubscribe old but this is not "immediate" as it takes time (upto few seconds)
for IB/TWS to process subscription/unsubscription request for given symbol.
If you don't want backfills to be triggered automatically, simply
uncheck "Automatic backfill on first data access" check box in the File->Database Settings->Configure
as described here:
http://www.amibroker.com/ib.html
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Herman
To: Mark Hike
Sent: Monday, September 21, 2009 11:32 AM
Subject: Re[2]: [amibroker] Is "price on demand only" possible in Amibroker?
No Mark, I have no solution. afaik, Backfill cannot be disabled.
herman
Monday, September 21, 2009, 12:57:06 AM, you wrote:
|
Herman:
This is an old post but I do have exactly the same question.
I don't need streaming and backfills, just the open prices by getRTDataForeign() from IB data plugin.
Have you figured it out? or heard anything from TJ himself?
Thanks,
- Mark
On Wed, Jan 21, 2009 at 11:30 AM, Herman <psytek@xxxxxxxx> wrote:
For better real-time execution speed and to eliminate IB backfill problems (IB lock-out and DB-corruption), I want to work without any historical data, arrays, or backfill.
I just want to be able to get a, using getRTDataForeign(), a specific price when I need it. For efficiency prices may be "sampled" at different rates depending on my system needs.
1) Is it possible to limit data collection through the IB data plug-in to getRTData() functions ONLY?
2) Would I even need a database for such a setup?
Is this possible?
thanks,
herman
|
|
|