Hi TJ,

> You don't need to worry about adding symbols. It is all done automatically by 
> AmiBroker.
> Your only responsibility is to fill data for given symbol IF/WHEN AmiBroker 
> asks for it
> via GetQuotesEx.
> The idea is very simple: AmiBroker ask for data for given symbol and you 
> should deliver.
> If you can not satisfy request immediately you can simply send request in 
> your plugin
> and return immediatelly without delivering data at this moment.
> Once data arrive, you should send WM_STREAMING_UPDATE message to AmiBroker
> and it will call GetQuotesEx again, then you will deliver the data.

That part is clear, thank you for clarification.

Amibroker calls GetQuotes(Ex) to get data for ticker A, that's OK. How do I 
backfill ticker B if Amibroker does not call GetQuotes(Ex) for ticker B?
The reason for doing this is I want to let the user specify a list of tickers 
which should be updated realtime. Eg. a daytrader trades a few stocks only, but 
he usually scans hundreds of stocks. How can I backfill these hundreds of 
stocks? Upon performing a scan or backtest or walk-forward-test or 
I-dont-know-what, does Amibroker calls GetQuotes each time or how to provide 
data?

Thanks
lukit

Reply via email to