Accessing IB from an EFS is possible via 2 method :
IBtrade.Buy(Symbol, Nbr_Contract, Order_Type, EntryPrice);
IBtrade.Sell(...)
when all settings are correct, it generate in TWS an Order line
BUT :
This line is just ready to be transmitted and not transmitted automatically, you still need to click the "Transmit" button ! The IB TWS API "Order structure" has a member called "transmit" as Boolean having the following sense: "Specifies whether the order will be transmitted by TWS. If set to false, the order will be created at TWS but will not be sent."
MY QUESTION :
when created in EFS
var IBtrade = new IBBroker;
is it possible to define within the IBBroker class the .transmit member as sent to IB via the API ?
IBtrade.Buy(Symbol, Nbr_Contract, Order_Type, EntryPrice);
IBtrade.Sell(...)
when all settings are correct, it generate in TWS an Order line
BUT :
This line is just ready to be transmitted and not transmitted automatically, you still need to click the "Transmit" button ! The IB TWS API "Order structure" has a member called "transmit" as Boolean having the following sense: "Specifies whether the order will be transmitted by TWS. If set to false, the order will be created at TWS but will not be sent."
MY QUESTION :
when created in EFS
var IBtrade = new IBBroker;
is it possible to define within the IBBroker class the .transmit member as sent to IB via the API ?
Comment