Login Page - Create Account

Support Board


Date/Time: Tue, 21 Jan 2025 01:01:33 +0000



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

[2018-07-08 15:57:13]
TedMar - Posts: 190
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?