get_current_event
Find the currently open event for a recurring market series like KXBTC15M, skipping closed windows and returning the event symbol for contract details and buy preflight.
Instructions
Find the event of a recurring market that is trading right now.
For a 15-minute "Up or Down" series such as "KXBTC15M" this is the current window: the open event of the series that closes soonest. Windows whose resolution time has passed are skipped, even though the API keeps listing them as unresolved for a few minutes after they close. Pass the returned eventSymbol to get_event_details for the YES/NO contracts and their asks, then preflight_buy_event_contract to price a buy.
Args:
series: Series ticker, e.g. "KXBTC15M" — the series field of
get_event_summary / get_event_details results.
frequency: How often the series recurs. Default FIFTEEN_MINUTES; e.g.
ONE_HOUR for hourly series.
category: Only search this category (from get_event_categories), e.g. "Crypto".
Narrowing the search makes it faster.
subcategory: Only search this subcategory, e.g. "BTC".
wait_seconds: If no event is open yet, keep checking for up to this many
seconds (0 to 120; default 0 = check once). Between windows, the next
one is typically listed a minute or two after the previous one closes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| series | Yes | ||
| category | No | ||
| frequency | No | FIFTEEN_MINUTES | |
| subcategory | No | ||
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |