Thanks TJ for the trick, It works out pretty well. It definitely reduce the
load without streaming 100 tickers.

On Mon, Sep 21, 2009 at 9:29 AM, Tomasz Janeczko <[email protected]>wrote:

>
>
> Note that exceeding symbol limit leads to performance degradation and
> possibly other problems.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
>
> ----- Original Message -----
> *From:* Mark Hike <[email protected]>
> *To:* [email protected]
> *Sent:* Monday, September 21, 2009 3:21 PM
> *Subject:* Re: Re[2]: [amibroker] Is "price on demand only" possible in
> Amibroker?
>
> TJ:
>
> Thanks for the trick. I am trying it out now.
> I need generally quotes for 100-110 tickers, but I can afford some delay
> upto a couple minutes.
>
> - Mark
>
> On Mon, Sep 21, 2009 at 6:25 AM, Tomasz Janeczko <[email protected]>wrote:
>
>>
>>
>> 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 <[email protected]>
>> *To:* Mark Hike <[email protected]>
>> *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 <[email protected]> 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
>>
>>
>>
>>
>>
>>
>>
>>
>   
>

Reply via email to