Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 11:49:51 +0000



Post From: ACSIL question

[2014-08-21 02:43:25]
User120827 - Posts: 77
hi

I have this in my code to flatten at end of session, courtesy of vegasfoster.

I would like to have it as an option on settings menu.
I was able to get the flatten part on the settings menu, but it is just a regular flatten command without the session times like the code below.

thanks


if (InputDateTime2 < EndDateTime && InputDateTime1 >= EndDateTime)
  
    sc.FlattenAndCancelAllOrders();