ACCESSING ADDITIONAL INFORMATION
Interactive Brokers .NET data plugin provides access to additional information of the traded securities.
These pieces of information had to be coded into the AFL include files or updated manually in AmiBroker's database or must have been kept in the traders mind and the trader had to take action manually.
AFL script can query plugin's symbol status (i.e. valid, tradable security) and symbol's properties in Interactive Brokers database in real time (i.e.: market hours, liquide market hours, primary exchange, etc.)
AFL scripts can access these pieces of additional information using the GetExtraData AFL function (See AmiBroker's help).
Getting these data items are this easy:
extraData = GetExtraData("ContractDetails.TradingHours");
See the IB Extra Data.afl and IB TickSize.afl formula for sample.
ACCESSIBLE SECURITY PROPERTIES
Symbol status
Quotation (chart) data status
Contract (InteractiveBroker's contract database - ContractDetails object)
Real Time Window data status
SAMPLE OF TRADING HOURS PRINTED ON THE CHART OF MSFT