Time Filters for Restricting Automated Trade Entries
Summary
This short reference describes a time filter for an automated trading system. The function checks whether the current time falls within a configured start and stop window, then returns a Boolean value that can gate the system’s trading logic. The example shows a same-day window and a session that begins in the evening and ends the following morning.
The document explains the basic scheduling behavior but gives no details about time zones, daylight-saving changes, broker server time, or how boundary times are handled. It provides no performance evidence or rationale for choosing a particular trading window. The filter controls when the system may trade; it does not define entry signals, exits, or risk management.
Key ideas
- A time filter can allow automated trading only during a configured interval.
- The function returns true when the current time is within the selected window.
- A window may span midnight, starting on one day and ending the next.
- The reference does not specify time-zone handling or provide evidence that a particular schedule improves performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.