Skip to content
StatAlphaDocumentation

ODC — Opening Day Continuation

The Opening Day Continuation (ODC) module evaluates how often the market direction in the early minutes of a session continues throughout the trading day.
It measures the follow rate, strength ratio, and volume share for different starting intervals — e.g., 5, 10, 15, 30, or 60 minutes after the open.


  • Tests whether the direction of the early intervals (e.g., first 5, 10, 15 minutes) continues during the full day.
  • Quantifies directional consistency, volatility, and volume allocation for each interval.
  • Evaluates both bullish (green) and bearish (red) starts separately.
  • Includes performance breakdown by:
    • Follow rate (% of sessions where early move direction matched the day’s close)
    • Range contribution (how much of the daily range was already covered)
    • Volume share of early intervals
    • False-positive rate (green start → red day)

Parameter Type Description
symbol string Target symbol (e.g., AAPL, TSLA, BTCUSD)
interval_minutes list[int] Minutes after open to evaluate (e.g., 5, 10, 15, 30, 60)
start_date / end_date string Custom date range (YYYY-MM-DD)
time_window string Predefined time window (e.g., 1M, 3M, 6M, 12M, 24M, 5Y)
start_time / end_time string UTC session window; the default follows US equity market hours
limit int Limits the number of results for /top and /flop endpoints
sort string Sorting key for /top and /flop (e.g., green_follow_rate_pct)

Endpoint Description
GET /stats/odc Returns per-day interval metrics (price, volume, direction, range)
GET /stats/odc/summary Aggregated metrics per interval (green/red start, follow rate, volume share, range)
GET /stats/odc/top Best intervals ranked by follow rate or chosen metric
GET /stats/odc/flop Weakest intervals ranked by lowest follow rate
GET /stats/odc/errors False-positive analysis (green start → red day)
GET /stats/odc/momentum Average interval return percentage
GET /stats/odc/doc Field documentation for all endpoints

Terminal window
curl -s -H "Authorization: Bearer $ACCESS_TOKEN" \
"https://api.statalpha.io/stats/odc/summary?symbol=TSLA&interval_minutes=5&interval_minutes=15&time_window=12M"
Terminal window
curl -s -H "Authorization: Bearer $ACCESS_TOKEN" \
"https://api.statalpha.io/stats/odc/top?symbol=MSFT&interval_minutes=5&interval_minutes=10&limit=3&sort=green_follow_rate_pct"
Terminal window
curl -s -H "Authorization: Bearer $ACCESS_TOKEN" \
"https://api.statalpha.io/stats/odc/flop?symbol=AAPL&interval_minutes=5&interval_minutes=10&limit=3"

[
{
"interval_minutes": 5,
"green": {
"count_start": 132,
"follow_rate_pct": 62.8,
"avg_interval_range_pct": 0.92,
"avg_interval_volume_share": 7.8
},
"red": {
"count_start": 128,
"follow_rate_pct": 58.4,
"avg_interval_range_pct": 0.86,
"avg_interval_volume_share": 8.1
},
"time_window": "12M"
}
]

The interval is green when its last close is greater than its first open; otherwise it is classified as red, including an unchanged interval. The session is green when its final available close is greater than its first available open; otherwise it is classified as red, including an unchanged session. Green follow-through is the percentage of green starts followed by green sessions; red follow-through is the percentage of red starts followed by sessions classified as red. This compares the session close to the session open, not to the end of the opening interval. The separate same_direction field uses a different rule for zero returns.

The interval range is (interval high - interval low) / interval open × 100. Summary averages are separate for green and red starts. Incomplete session data can affect these values. The range after the interval is not currently provided by this module.

Metric Meaning
green.follow_rate_pct / red.follow_rate_pct Share of sessions where early interval direction matched day’s close
avg_interval_range_pct Average of each interval’s high–low range as a percentage of its opening price
avg_interval_volume_share Share of daily volume traded within the interval
false_positive_rate_percent Rate of failed continuations (green start → red day)
avg_interval_return_percent Average return between open and interval end

  • ODC statistics help identify time-based continuation patterns useful for intraday timing or model calibration.