Support Board
Date/Time: Sat, 10 May 2025 23:48:29 +0000
Post From: Order-error - Order timed out
[2016-06-01 16:34:57] |
User754985 - Posts: 109 |
Further to my questions, please confirm my understanding. In case an order is timed-out (e.g. existing stop order status is polled x times during api server disconnect e.g. before modification), then what will be returned by - Result=sc.GetOrderByOrderID(StopOrderID, TradeOrderData) // My guess - NOT SCTRADING_ORDER_ERROR - TradeOrderData.OrderStatusCode // if Result!=SCTRADING_ORDER_ERROR, then it will be ==SCT_OSC_ERROR Question: upon api server reconnected, how can one modify/cancel such order with got labelled by SC as SCT_OSC_ERROR? is this a permanent status or it can change later? how to resurrect it in SC? |