Expand description
§Market Command
Reports peg and order book health for stablecoin markets. Fetches level-2 depth from CEX (Binance, Biconomy) or DEX (Ethereum, Solana) venues and runs configurable health checks including volume and execution estimates. Supports one-shot or repeated runs with configurable frequency and duration.
Structs§
- Ohlc
Args - Arguments for
scope market ohlc. - Summary
Args - Arguments for
scope market summary. - Trades
Args - Arguments for
scope market trades.
Enums§
- Market
Commands - Market subcommands.
- Ohlc
Format - Output format for market data commands.
- Summary
Format
Constants§
- DEFAULT_
DURATION_ SECS - Default total duration when in repeat mode (1 hour).
- DEFAULT_
EVERY_ SECS - Default interval between summary runs when in repeat mode (60 seconds).
Functions§
- run
- Run the market command.