PureBytes Links
Trading Reference Links
|
Use COM object in AFL.
Something like this:
AB = CreateStaticObject("Broker.Application";
stock = AB.Stocks("XYZ");
mkid = stock.MarketID;
--- In amibroker@xxxxxxxxxxxxxxx, "treliff" <treliff@xxx> wrote:
>
> This must have been asked before. Searched the msg. history,
probably
> just missing the correct search terms.
>
> Q: is there a way to grab a foreign symbol's MarketID? The wrong way
> of course is:
>
> Foreign( XYZ, MarketID() )
>
> Thanks!
>
> -treliff
>
|