Streaming-native crypto-exchange connectivity built on the Wickra core: one typed, unified API over the ten largest exchanges, across 8 languages.
https://wickra.org โ// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- 10 releases in the last 90 days
// how to help
// readme
One typed API. Ten exchanges. Eight languages. Streaming-native crypto-exchange connectivity โ market data and signed order execution โ built on the Wickra core.
use wickra_exchange::{Exchange, ExchangeOptions, MarketData, OrderRequest, PaperExchange};
// Offline: fills are simulated, deterministically.
let mut ex = PaperExchange::new().with_balance("USDT", dec!(100_000));
ex.set_price(&market, dec!(20_000));
// Live: same trait, same calls, same order type โ only the constructor differs.
let mut ex = Exchange::new("binance", creds, ExchangeOptions::testnet(MarketType::Spot))?;
let order = ex.place_order(&OrderRequest::market_buy(market, dec!(1)))?;
println!("{} filled at {:?}", order.filled_quantity, order.average_price);