Dear-
I just found a clip in Youtube, explaining delivery of BUY order to IB server, thru IB API.
If this is true,
1) Suppose we prepare a file c:\MyOrder.txt (roughly 20 lines) as follows.
MSFT BUY 100 30.00
AXP BUY 200 60.00
****
DD BUY 100 40.00
Can we deliver these 20 orders together, after reading external text file, to IB server using Python API?
2)How about contingent order as follows
MSFT BUY 100 32.00 30.00
which means that deliver 100 buy order of MSFT at limit $30.00, as soon as the current price hits $32 during the day.
3) These codes are for Python. Can we do the same work at R, instead of Python?
I just found a clip in Youtube, explaining delivery of BUY order to IB server, thru IB API.
If this is true,
1) Suppose we prepare a file c:\MyOrder.txt (roughly 20 lines) as follows.
MSFT BUY 100 30.00
AXP BUY 200 60.00
****
DD BUY 100 40.00
Can we deliver these 20 orders together, after reading external text file, to IB server using Python API?
2)How about contingent order as follows
MSFT BUY 100 32.00 30.00
which means that deliver 100 buy order of MSFT at limit $30.00, as soon as the current price hits $32 during the day.
3) These codes are for Python. Can we do the same work at R, instead of Python?