From time to time (1-2 a week) my application's first order is rejected with the following reason:
tws.log says:
This happens randomly, but only on the first order of the day. Subsequent orders are working rock solid!
Restarting TWS resolves the problem. Anybody else with the same problems?
regards,
tron_at
Code:
Error: id=3033, code=322, Error processing request:-'ub' : cause - jextend.ub.f(ub.java:1152)
tws.log says:
Code:
GQ 09:29:09:377 JTS-EServerSocket-29: [1:42:44:1:0:0:0: DET] Started reading message:
GQ 09:29:09:378 JTS-EServerSocket-29: [1:42:44:1:0:0:0: DET] Finished reading message:
GQ 09:29:09:378 JTS-EServerSocket-29: [1:42:44:1:0:0:0: DET] ub::[version=27,ID=3033,reqDesc=Symbol=CL Type=FUT Expiry=200907 Strike=0.0 Put/Call=?
Exchange=NYMEX CompExch=null Currency=USD Multiplier=null IbLocalSymbol=null includeExpired=false Legs=null,transmit=true,combo=null]
GQ 09:29:09:379 JTS-EServerSocket-29: [1:42:44:1:0:0:0: DET] [27;3033;CL;FUT;200907;0.0;2;null;NYMEX;null;USD;null;2;1;LMT;Value;
60.6;Default;1.7976931348623157E308;1.7976931348623157E308;1.7976931348623157E308;1;Uxxxxxx;true;0;null;ExpireDateTime [null];
Reduce on Fill without Block;null;StockRefPrice=1.7976931348623157E308;DeltaNeutralOrderType=None;
StockRangeLower=1.7976931348623157E308;ReferencePriceType=None;Hidden=false;OptionAcctAttrib=c;OpenCloseAttrib=O;
FirmQuoteOnly=false;SweepToFill=false;PercentOffset=1.7976931348623157E308;VolatilityType=None;
StockRangeUpper=1.7976931348623157E308;AllOrNone=false;OutsideRth=false;NbboPriceCap=1.7976931348623157E308;
DeltaNeutralAuxPrice=1.7976931348623157E308;MinimumQuantity=2147483647;OrderRef=null;ContinuousUpdate=false;
BlockOrder=false;DisplaySize=2147483647;Delta=1.7976931348623157E308;TriggerMethod=Default;
StartingPrice=1.7976931348623157E308;Volatility=1.7976931348623157E308;ETradeOnly=false]
GQ 09:29:09:379 JTS-EServerSocket-29: [1:42:44:1:0:0:0: DET] Start validating message:
GQ 09:29:09:379 JTS-EServerSocket-29: [1:42:44:1:0:0:0: DET] Finished validating message:
GQ 09:29:09:379 JTS-EServerSocket-29: [1:42:44:1:0:0:0: DET] Started processing message:
GQ 09:29:09:379 JTS-EServerSocket-29: [1:42:44:1:0:0:0:INFO] Placing orderId - 3033
GQ 09:29:09:499 JTS-EServerSocket-29: [1:42:44:1:0:0:0:ERR] -'ub' : cause - jextend.ub.f(ub.java:1152)
GQ 09:29:09:499 JTS-EServerSocket-29: Anticipated error
GQ jextend.b
at jextend.ub.f(ub.java:1152)
at jextend.ab.j(ab.java:259)
at jextend.ud.P(ud.java:916)
at jextend.ud.run(ud.java:773)
at java.lang.Thread.run(Thread.java:619)
GQ 09:29:09:499 JTS-EServerSocket-29: [1:42:44:1:0:4:2: DET] Sending error.
GQ 09:29:09:500 JTS-EServerSocket-29: [1:42:44:1:0:4:2: DET] [4;2;3033;322;Error processing request:-'ub' : cause - jextend.ub.f(ub.java:1152)]
GQ 09:29:09:500 JTS-EServerSocket-29: [1:42:44:1:0:4:2: DET] Error sent.
This happens randomly, but only on the first order of the day. Subsequent orders are working rock solid!
Restarting TWS resolves the problem. Anybody else with the same problems?
regards,
tron_at