Login Page - Create Account

Support Board


Date/Time: Tue, 04 Mar 2025 10:13:44 +0000



Post From: ACSIL: Limiting trades being processed by my code to the current trading day

[2021-11-24 00:04:09]
ycomp - Posts: 321
s_ACSTrade trade = TradesList[TradeIndex];

SCDateTime open = trade.OpenDateTime.GetDate();

how could I test if this open date is part of the new trading session (ETH)?

basically I'm trying to limit trades I look at to the "current day", but not system time day, rather the current trading day.