Expand description
Instrument metadata — the exchange/asset-specific knobs the framework needs to size and round orders correctly, and to apply asset-class-aware rules.
InstrumentSpec is returned by
ExchangeClient::instrument_spec.
It generalises the older single contract_value hook into the full set a
multi-asset bot needs: contract size, price tick, quantity lot, minimum
order notional, and a broad AssetClass. The defaults are permissive so
adapters that expose no metadata keep working unchanged.
Structs§
- Instrument
Spec - Exchange/asset metadata for one instrument.
Enums§
- Asset
Class - Broad asset class an instrument belongs to. Drives class-aware risk presets (different leverage/stop/size conventions per class) and sizing semantics.