Login Page - Create Account

Support Board


Date/Time: Wed, 14 May 2025 23:23:33 +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?