Login Page - Create Account

Support Board


Date/Time: Fri, 01 Nov 2024 01:29:37 +0000



Post From: OCO_LIMIT_STOP_ORDER with attached target and stop orders

[2017-02-22 11:58:00]
Marmany - Posts: 307
1)I am having an issue where a study is interpreting live attached orders as being scale in orders. My code has been adapted from that in tradingsystem.cpp and uses != SCTRADING_ORDER_ERROR.
In tradingsystem.cpp none of the examples contain the IsWorkingOrderStatusNoChild function. Is it a recent addition?

2) In the Manual the code example is:
//Order is considered working
if (IsWorkingOrderStatusNoChild(ExistingOrder.OrderStatusCode))
{
}
Should that be sc.IsWorking.......?

Please advise