EXE (IB Controller) application is launched and the ibc variable contains the pointer to OLE automation object that has several methods (functions) that allow to place/modify/cancel orders via TWS and to query portfolio information.Those methods (functions) are called as any automation object methods, for example: ibc = Get Trading Interface("IB"); if( ibc.Fields that are provided separately for EACH currency held on the account, [CUR] in the list below means currency symbol, so for USD denominated funds and securities you will see [USD] prefix.Note IDEALPRO spot Forex positions are included in [CUR]Cash Balance here.Anyway if something fails you can simply close IB controller window and it will re-open automatically and reconnect on next call to Get Trading Interface.9) When the TWS/AB connection is broken during trading, what is the best way to restore it? It will re-open automatically and reconnect on next call to Get Trading Interface.
3) The IB Interface contains a lot of useful information, can we access this information in afl?
This ensures that orders wait until bracket order set is completed.
Setting Transmit flag to TRUE on the very last one transmits entire bracket. The reason is simple - because it relies on IB API we have no control upon.
DON'T LEAVE AUTOMATIC TRADING UNATTENDED AS CERTAIN CIRCUMSTANCES MAY OCCUR LIKE INTERNET FAILURE, POWER FAILURE, OTHER UNEXPECTED SITUATION THAT MAY LEAD TO SERIOUS FINANCIAL LOSS. EXE) is a separate application that acts as a buffer between Ami Broker and Interactive Brokers TWS.
It accepts commands from Ami Broker and send orders to / retrieves information from TWS. The IB controller application is run automatically by Ami Broker if the formula contains the following call: ibc = Get Trading Interface("IB"); After this call the Broker IB.
Parameters and Signals may not be the same as a result of using loops, DLLs, and things.