Login Page - Create Account

Support Board


Date/Time: Fri, 04 Jul 2025 01:23:06 +0000



Post From: ACSIL , howto use sc.FlattenAndCancelAllOrders at end of Session?

[2018-07-08 15:57:13]
TedMar - Posts: 191
Im not understand how works sc.FlattenAndCancelAllOrders .
Any one have code example of, GetTime current time (not at bar Close) and Flatten and Cancel orders, 1 min before ends trading session?