Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 12:41:18 +0000



Post From: Question about exiting trading positions using ASCII

[2023-05-10 22:42:49]
ForgivingComputers.com - Posts: 960
You need to capture the Internal Order ID of the parent order when the order is filled.

Then you use:

sc.CancelOrder(InternalOrderID);

Automated Trading From an Advanced Custom Study: sc.CancelOrder