Login Page - Create Account

Support Board


Date/Time: Sat, 28 Dec 2024 08:37:22 +0000



Post From: Ignored Send call based on current state error

[2016-03-24 01:43:07]
User713273 - Posts: 409
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"

This message occurred at the same time that socket error happened (09:14:12)

According to IB, error code 320 is a standard error message when the API client sends a request wrong and their servers are not able to read it with a parameter in the wrong syntax or format.

There basically this is an error from Sierra Charts on how we are sending the placeOrder() method to IB. I will have to throughly review my source code to diagnose the issue at hand. Just a note, the errors only occur when buying puts and not calls.