|
From: Mohammad K. L. <kam...@gm...> - 2007-03-29 06:45:33
|
Hi Toli, In fact I'm trying to set the OrderType to LIMIT not the MsgType,,can't find a way to do that,,here's the code line for it but it gives me an error,, *order.set(new OrderType(OrderType.LIMIT));* Secondly can u plz clarify what's the difference between a message and an order? Thanks. ** On 3/29/07, Toli Kuznets <to...@ma...> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hey, > > You can use MessageFactory.create(MsgType.<your msg type>) to create > your message > or you can do > Message msg = new Message() > msg.getHeaders().setField(new MsgType(MsgType.some_type)) > > You can use FIXopaedia to check what the required fields are, choose > the appropriate FIX version. Pick the message you are interested in, > and look at the "required" field in the table: > http://www.btobits.com/fixopaedia/fixdic42/index.html > > On 3/28/07, Mohammad Kamran Liaqat <kam...@gm...> wrote: > > QuickFIX/J Documentation: > > http://www.quickfixj.org/documentation/ > > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hi there!! > > > > Can anybody please help me what code to use to set the ordertype for my > > order?Moreover,what fields are mendatory to be set for an outgoing > order? > > > > Thanks. > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Quickfixj-users mailing list > > Qui...@li... > > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > > > > -- > Toli Kuznets > http://www.marketcetera.com: Open-Source Trading Platform > download.run.trade. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |