Support Board
Date/Time: Tue, 22 Apr 2025 09:20:45 +0000
Post From: Flatten Order By Id
[2025-04-14 10:03:02] |
kam2001 - Posts: 86 |
Hi, please correct me if i am wrong but my understanding is that i can cancel an open order using an InternaOrderlId via sc.CancelOrder(InternalOrderID) but if i want to flatten a filled order i have to use sc.FlattenPosition() which will Flattens the current Trade Position for the Symbol. My question is that if i have two different filled orders for the same Symbol how can i only flatten just one of them, is there a function that also takes InternalOrderId and flatten the filled order with given Id. Thanks
|