Hello,
I am trying to create a simple buy order through Excel API but can't manage to do so.
The sample excel of TWS has hundreds lines of code and tons of loops which are mostly irrelevant..
The basic code should be something like:
Symbol = "XOM"
Side = "BUY"
Quantity = 1000
Price = 110
PriceType = "LMT"
Exchange = "SMART"
TIF = "DAY"
submitorder
Can anyone please tell me the right codes that IB is using for a simple order like this?
Thanks!
I am trying to create a simple buy order through Excel API but can't manage to do so.
The sample excel of TWS has hundreds lines of code and tons of loops which are mostly irrelevant..
The basic code should be something like:
Symbol = "XOM"
Side = "BUY"
Quantity = 1000
Price = 110
PriceType = "LMT"
Exchange = "SMART"
TIF = "DAY"
submitorder
Can anyone please tell me the right codes that IB is using for a simple order like this?
Thanks!