Skip to main content

Module market

Module market 

Source
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§

SummaryArgs
Arguments for scope market summary.

Enums§

MarketCommands
Market subcommands.
SummaryFormat

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.