Guide · Robots
Trading robot seasonality: hours, days, sessions
Hardly any robot performs the same at every hour. Seasonality means seeing in which time window, on which day or in which session it concentrates its profits; also where it loses them.
What to look at
- Opening hour: the result of the trades that start in each time window.
- Day of the week.
- Month.
- Session: Asia, Europe, United States.
Why it changes
Each session has its own liquidity, its own spread. A breakout strategy depends on the volume at the open; a mean-reversion one usually does better in quiet hours.
An example with numbers
A robot makes $4,000 in a year. By hour: +$6,500 on trades opened between 9:00 and 12:00; −$2,500 on those in the early hours of the morning.
Without the night window it would have made more with fewer trades. Before removing it, check how many there are.
Watch the sample size
When you spread 200 trades over 24 hours, each window is left with eight. With so few, a “bad” stretch may be chance.
Group by session before drawing conclusions.
What to do with what you find
- A time filter, if that window also loses in the backtest over many trades.
- Less risk in the weak sessions.
- Nothing: if the difference is small, leave it as it is.
Sessions in server time
Many brokers use GMT+2, or GMT+3 in summer. On that clock, Asia takes up the early morning hours; Europe opens around 9:00 or 10:00; the United States, in mid-afternoon.
The London–New York overlap concentrates the highest volume of the day.
Special days
- Monday first thing: wide spreads after the weekend.
- Wednesday night: triple swap on forex, at most brokers.
- Friday afternoon: less liquidity before the close.
- Days with high-impact data releases. Robots and news.
Live vs backtest
Compare the hourly breakdown of the two. If the robot wins in the backtest during a window where it loses live, look at your broker's spread during that stretch.
Common mistakes
- Removing hours until the curve looks perfect: that's overfitting. Why.
- Looking at your local time instead of server time.
- Forgetting the switch to daylight saving time.
Frequently asked questions
What is seasonality in trading?
The pattern by which a strategy's results change with the hour, the day, the month or the market session.
What is the best time of day for a trading robot?
It depends on its strategy. Breakout strategies tend to concentrate their result around the opens; mean-reversion ones, in quiet hours. You have to measure it robot by robot.
Should I add a time filter to an EA?
Only if that time window loses over many trades, in the backtest as well. Removing hours with a small sample is overfitting.