Login Page - Create Account

Support Board


Date/Time: Sat, 15 Aug 2026 07:38:50 +0000



Post From: Question about exiting trading positions using ASCII

[2023-05-10 22:42:49]
ForgivingComputers.com - Posts: 1235
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