Support Board
Date/Time: Fri, 27 Dec 2024 12:38:55 +0000
Post From: Sierra Chart - How to close running Order
[2024-10-21 05:57:00] |
stefkovic.m28 - Posts: 18 |
Hello, I have successfuly sent my single order to simulated trading account with this command: { "Type": 208, "Symbol": "ESZ24-CME", "ClientOrderID": 123, "OrderType": 1, "BuySell": 1, "Quantity": 25, "TradeAccount": "Sim1", "TradeMode": 1, "IsParentOrder": 0 } But now I don´t know, or don´t understand how to close this position in simulated account. These two types of commands are not working: { "Type": 208, "Symbol": "ESZ24-CME", "ClientOrderID": 123, "OrderType": 1, "BuySell": 1, "Quantity": 25, "TradeAccount": "Sim1", "TradeMode": 1, "IsParentOrder": 1 } Second command: { "Type": 201, "Symbol": "ESZ24-CME", "ParentTriggerClientOrderID": 123, "ClientOrderID_1": 124, "OrderType_1": 3, "BuySell_1": 2, "Price1_1": 5900, "Quantity_1": 25, "ClientOrderID_2": 125, "OrderType_2": 2, "BuySell_2": 2, "Price1_2": 5930, "Quantity_2": 25, "TimeInForce": 1, "TradeAccount": "Sim1" } Many thanks for your support and explanation how to close running position. |