Expand description
Reject codes from exchange (matches cc_proto::RejectClass).
Constants§
- AUTH
- Authentication error (invalid API key/secret)
- BAD_
VENUE - Venue ID not in registered venue set (multi-venue)
- DAILY_
LOSS_ LIMIT - Daily P&L loss limit breached — algo paused
- EXCHANGE_
BUSY - Exchange temporarily unavailable
- INSUFFICIENT_
BALANCE - Insufficient balance/funds
- INVALID_
PARAMS - Invalid parameters (price, qty, symbol)
- KILL_
SWITCH - Kill switch triggered
- NETWORK
- Network error
- POSITION_
LIMIT - Position limit exceeded
- PRICE_
DEVIATION - Fat-finger: price deviates too far from reference (best bid/ask)
- RATE_
LIMIT - Exchange rate limit hit
- RISK
- Risk check failed
- STALE_
VENUE - Target venue data is stale (multi-venue)
- UNKNOWN
- Unknown error
Functions§
- to_str
- Get human-readable description for a reject code.