Support Board
Date/Time: Sat, 28 Dec 2024 08:39:16 +0000
Post From: Ignored Send call based on current state error
[2016-03-24 02:47:03] |
Sierra Chart Engineering - Posts: 104368 |
We cannot analyze source code from a user. This is not a service we provide. Got this message in my logs today. "Trading message from IB: Error reading request:Message type 9275. Unable to parse data. java.lang.NumberFormatException: For input string: "4294967235". Error Code: 320. ServiceOrderID: 9275. ; 2016-03-23 09:14:12"
Anyway, it is clear that the order quantity you are submitting is wrong. Refer to: ActivityType DateTime Symbol OrderActionSource InternalOrderID ServiceOrderID OrderStatus OrderType FillPrice Price Quantity PositionQuantity BuySell Price2 FilledQuantity TradeAccount OpenClose ParentInternalOrderID FillExecutionServiceID
Order 2016-03-23 12:14:11.879 AAPL-OPT-20160324-107-P-SMART-100-USD Auto-trade: AAPL [M] 1 Min #1 | Option Trader | sc.SubmitOrder | Bar start time: 2016-03-23 09:14:00 60462 Order Sent Stop 0.55000 4294967235 -61 Sell DU273679 Open Why IB is disconnecting for this reason we do not know. Does not make sense and this is another fault of TWS. For the record, there is not a single trading service that would disconnect the connection because of an invalid order quantity. The worst that would happen would be a business level reject message. This is a completely ridiculous architecture of TWS to be doing this. I am sure they are going to give numerous excuses, as to why they do that. It is simply wrong. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2016-03-24 03:28:50
|