Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 22:31:52 +0000



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

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