|
From: Toli K. <to...@ma...> - 2007-03-29 07:02:34
|
Oh, my bad. my misunderstanding. you can do something like this: order.setField(new OrdType(OrdType.LIMIT You want to use quickfix.OrdType not OrderType. See the newLimitOrder() function in the Marketcetera code: http://trac.marketcetera.org/trac.fcgi/browser/platform/trunk/core/src/main/java/org/marketcetera/quickfix/FIXMessageFactory.java#L127 > Secondly can u plz clarify what's the difference between a message and an > order? Oh, there's no difference. I'm assuming the order is of quickfix.Message type, so i used the words interchangeably. -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |