Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 11:14:56 +0000



Post From: order return question

[2017-01-18 05:55:59]
User103949 - Posts: 78
I place an order using the following code in a backtesting mode.

s_SCNewOrder entryOrder;
entryOrder.OrderQuantity = 1;
entryOrder.OrderType = SCT_ORDERTYPE_MARKET;
entryOrder.TimeInForce = SCT_TIF_GOOD_TILL_CANCELED;
entryResult = sc.SellEntry(entryOrder, index);

my return value for entryResult is -8998. What is the potential cause for that?

Thanks,