Payday Anomaly Strategy (Python). StockSharp

Author: StockSharp
N: 2049
v5.0.0 (8/7/2025)
Downloads: 0

This strategy exploits the "payday" effect by holding a broad market ETF around typical salary payment dates. The ETF is owned from two trading days before month-end through the third trading day of the new month, capturing inflows from paycheck contributions.
The rest of the month the portfolio is in cash. Daily candles determine the window and market orders adjust the position.

  • Instrument: broad market ETF.
  • Window: from two days before month end to third trading day of next month.
  • Positioning: long during window, flat otherwise.
  • Data: daily candles.
  • Risk control: trade skipped if order value below MinTradeUsd.