I have done this in tradelink. if you have a file like
you can read and send them in using OrderImpl.Deserialize(line) with sendorder.
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.