Market PDA with its own
orderbook, oracle feed, and parameters. A market is identified by
market_index (a u16) and seeded as ["market", market_index_le].
V1 market
V1 ships with SOL-PERP only so every integration pattern can be validated
end-to-end before adding assets.
Market status
A market moves through a small state machine:
The admin is a two-step-transferable pubkey stored on
ExchangeConfig.
Market hours
Unlike TradFi futures, Kimia markets are 24/7. There are no market-open or market-close procedures. Oracle uptime is guaranteed by Pyth’s publisher set, with 60-second staleness thresholds on-chain.Per-market configurable parameters
All of these can be adjusted via
update_market_params without changing
the oracle account. Oracle swaps require a migration.
Future markets
On the roadmap:- BTC-PERP (once multi-market routing lands)
- Majors (ETH, BNB, etc. via Pyth Hermes)
- On-chain assets (JUP, JTO, PYTH) at a later phase
- Isolated markets with custom margin ratios

