Skip to content
All library documents

Overnight SPY Strategy Using Market Sentiment and Moving-Average Signals

Code Awesome Systematic Trading

Summary

This strategy uses SPY, VIX, and the Brain Market Sentiment indicator to determine exposure to an overnight SPY trade. It checks each series against its 20-day average: SPY and sentiment must be above their averages, while VIX must be below its average. Each available qualifying signal contributes an equal fraction of portfolio exposure. The implementation calculates the signal shortly before the close, buys SPY at the close, and exits at the next open.

The source notes that VIX data begin later than the price history and sentiment data begin later still, so the full set of inputs is not available throughout the historical period. It recommends using the method as an overlay for trade decisions rather than as a standalone system. The document provides an implementation outline but no reported returns, transaction-cost analysis, or robustness evidence; these omissions limit what can be inferred about its practical performance.

Key ideas

  • The strategy combines SPY, VIX, and market sentiment signals based on 20-day moving averages.
  • SPY and sentiment signals require values above their averages, while VIX must be below its average.
  • Exposure is divided equally among qualifying signals, with SPY held from the close to the next open.
  • The source recommends treating the approach as a decision overlay and reports no performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.