deepbook-predict-market-keys
Installation
SKILL.md
DeepBook Predict: Market Keys & Ranges
Predict uses structural keys to identify position entries in the PredictManager tables.
1. Binary Position Keys (MarketKey)
MarketKey represents a directional binary option position on an oracle's outcome at a specific strike and expiry timestamp.
Structure Fields
oracle_id: ID: The targetOracleSVIobject ID.expiry: u64: The Unix timestamp (in seconds) of option expiry.strike: u64: The target trigger price strike.is_up: bool: Option direction.true(Up): Pays if the settlement price is above the strike.false(Down): Pays if the settlement price is below/equal to the strike.