Support Board
Date/Time: Fri, 07 Feb 2025 12:13:54 +0000
Post From: Attached orders with BitMex
[2020-05-18 21:29:33] |
User980227 - Posts: 7 |
Hi Sierra Chart team, I am using attached orders with BitMex. Once a parent order is filled, the attached stop loss and profit target become active. Let's say a very rare event occurs, such as I manually cancel the stop loss via BitMex. Is there a way of identifying this situation within SC where I have an open position with a missing attached stop? So far I have failed attempting to identify a change in order status with below lines. s_SCTradeOrder TradeOrderData;
int OrderStatusStop = sc.GetOrderByOrderID(StopInternalOrderID, TradeOrderData); sgStatusStop[sc.Index] = (float)OrderStatusStop; Thank you very much for your help. Sebastian |