Skip to main content

trade8-sdk - Trade8 Vertical SDK

1. Summary​

The Trade8 vertical's shared plane - the vertical's own sentin8-sdk equivalent (SDD §3.4): fixed-point math, market-data contracts, and trading protocol codecs that EVERY trade8 service links. It stays one workspace because dissolving it would recreate cross-service repo cycles one level down.

2. Crates​

CratePurpose
facade (package trade8)Namespace facade - use trade8::fixed::…, use trade8::contracts::…
crates/fixedPrice/Qty fixed-point decimal math (the market invariant)
crates/contractsShared event/wire types - Bar, BarInterval, TradePrint
crates/feed-adaptersMarket-feed ingestion adapters
crates/fixFIX protocol codec
crates/ouchOUCH protocol codec
crates/trade8-clientShared consumer helpers (bus run loop)

3. Consumption​

trade8 = { git = "https://github.com/Trade8-dev/trade8-sdk", tag = "trade8-v0.1.0" }

The facade pins the platform SDK (sentin8 - shared plane only, SDD §2.2).


Architecture & Design: trade8:sdk and its underlying concepts were designed by Hamid Jahanzad.