Canonical types, events, commands, and traits for the trading bot.
bot-core is the shared contract between strategies, the engine, and
exchange adapters. It owns identifiers, money/quantity wrappers, instrument
metadata, order state, command/event DTOs, and the strategy/exchange traits.
Example
use ;
use Decimal;
let exchange = new;
let order = limit;
assert_eq!;
Error and panic policy
Constructors are intentionally lightweight and do not validate exchange
semantics. String parsing helpers return rust_decimal::Error on invalid
decimals. Non-WASM [now_ms] panics only if the host clock is before the
Unix epoch.