Re: [Quickfix-users] Visual C++ build problems: 'ole2.h'
Brought to you by:
orenmnero
From: Joerg T. <Joe...@ma...> - 2004-07-06 08:55:21
|
Hi Shaun, > 1. > When you run Executor (Java version) with an incomplete cfg file, it can > cause a Virtual Machine abort, rather than a useful error message. See > attached hs_err_pid3304.log log file for details. Don't think this is a > huge deal since it does work fine with a sensible cfg file. This may be > the same problem as listed here > http://sourceforge.net/mailarchive/forum.php?thread_id=4325589&forum_id=103 > <http://sourceforge.net/mailarchive/forum.php?thread_id=4325589&forum_id=103>. I know about such problems. When I use the FileLogFactory, but forgot to add the entry to the cfg file, QF aborts. Will check this... Oren, what do you know about this? Probably a ConfigError should be thrown or is not correctly catched in the JNI layer. > 2. > When I have Executor and Banzai running and connected to each other, > when I try to submit an order, I always get an error about tag58 (Text) > being out of range, e.g. > > <20040705-14:41:29, FIX.4.0:CLIENT1->TW, incoming> > > (8=FIX.4.0☺9=107☺35=3☺34=115☺49=TW☺52=20040705-14:41:29☺56=CLIENT1☺45=468☺58=Value > is incorrect (out of range) for this tag☺10=153☺) > > Not sure how useful this feedback is, but if I come across anything else > I'll let you know. Thanks again for your help... Tag 58 is the explanatory text for you to read; it is not tag 58 which is out of range. Tag 45 refers to sequence number 468 (34=468). Probably you tried to send a MARKET order from Banzai to the Executor. The Executor only accepts LIMIT orders, others are rejected: 56 if(ordType.getValue() != OrdType.LIMIT) 57 throw new IncorrectTagValue(ordType.getField()); This from the file quickfix-1.8.0/quickfix/examples/executor/java/src/Application.java The thrown exception results in the session level reject being sent. The Ordermatcher rejects that order with an ExecutionReport: 58=Unsupported Order Type, use limit which is more helpful here. Just try the order matcher to see the difference. Cheers, Jörg -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen |