market session correlation standard
Tracks how often the second session closes green or red based on whether the first session closed green or red, across the date range. Returns frequency and percentage stats for all four green/red combinations. Configurable via session windows and performance (open-to-close or previous-close-to-close).
Authorizations
Use your Edgeful API key as the bearer token. In the API Reference authorization drawer, paste only the key (for example, ef_live_<random>).
Path Parameters
ticker symbol. format varies by market_type: stocks use a plain symbol (e.g., SPY), forex uses a 6-character pair (e.g., EURUSD), crypto uses a contract pair (e.g., BTCUSD), futures uses the root symbol (e.g., ES).
"SPY"
"EURUSD"
"BTCUSD"
"ES"
market venue for the ticker. one of: forex, futures, crypto, stock. determines supported symbols and whether session-based intraday aggregation is available.
forex, futures, crypto, stock "stock"
"forex"
Query Parameters
display label for session 1 used in the response payload (e.g., Asian, London).
display label for session 2 used in the response payload (e.g., NY, Rest of Day).
session 1 start time, HH:MM:SS, interpreted in session1_timezone.
session 1 end time, HH:MM:SS, interpreted in session1_timezone.
IANA timezone used to interpret session 1 times. defaults to America/New_York.
session 2 start time, HH:MM:SS, interpreted in session2_timezone.
session 2 end time, HH:MM:SS, interpreted in session2_timezone.
IANA timezone used to interpret session 2 times. defaults to America/New_York.
when true, treats session 1 and session 2 as falling on separate calendar days; when false, both sessions belong to the same calendar day.
color basis for each session. close uses the close-to-close change; any other value uses the open-to-close change.
inclusive start date, YYYY-MM-DD, interpreted in the request timezone. sessions on or after this date are included in the calculation.
"2024-01-01"
inclusive end date, YYYY-MM-DD, interpreted in the request timezone. sessions on or before this date are included in the calculation.
"2024-12-31"
Response
Successful Response