Submit orders to IB from textfile

I have done this in tradelink. if you have a file like


Code:
IBM,true,100,500.000000,0.000000,,,,STK,USD,,1,DAY,0,0,,0
SPY_111223C119000 OPT,true,1,0,0,,CBOE,ZXBZA,NIL,USD,,975804660,D,20111206,144523,,0

you can read and send them in using OrderImpl.Deserialize(line) with sendorder.
 
Quote from ddude:

Why not use twsOrder and placeOrder in IBrokers package in R??? :confused:
Do you have experience with it? I've heard conflicting things about it, especially about some stability issues. We looked at it briefly when we considered PBing with IB, but decided against it. Pretty reasonable interface, though.
 
Yes, No more issues than anything else and for me are usually more on the IB side... And as you can see from 2rosy's example above what you are asking for can be short and sweet. :cool:
Cordially,
-DD-

PS - The author of the IBrokers package is very good and active in the community!
 
a Python script could load the txt file and run the trade directly with IB MQ

See my scripting tutorial for connecting and trading with IB in a pure programming environment
 
Back
Top