Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
ccxt
Typed Rust API for CCXT — a cryptocurrency trading library with support for 100+ exchanges and prediction markets.
This crate is the REST surface: each exchange has a typed wrapper returning native Rust
types (Ticker, Order, Market, OrderBook) rather than a dynamic value. It re-exports
the ccxt-base engine, so ccxt::Value,
ccxt::Params and ccxt::Config resolve here too.
use ;
let mut exchange = new;
exchange.load_markets.await;
let ticker = exchange.fetch_ticker.await?;
println!;
WebSocket (watch*)
Streaming lives in ccxt-pro. Its wrappers carry the
REST surface too, so one instance can subscribe and trade. watch_* resolves with the next
update, so call it in a loop:
use Params;
use Binance;
let mut exchange = new;
exchange.load_markets.await;
loop
Other streams follow the same shape: watch_ticker, watch_trades, watch_ohlcv,
watch_orders, watch_my_trades, watch_balance. Requires a Tokio runtime.
Prediction markets
Prediction-market venues live in ccxt-prediction:
Binance, Hyperliquid, Kalshi, Limitless, Myriad, Opinion, Polymarket and Predictfun. They
share the unified surface, so the same fetch_* calls work against outcome markets:
use Params;
use Polymarket;
let mut exchange = new;
exchange.load_markets.await;
let book = exchange.fetch_order_book.await?;
println!;
Documentation: https://docs.ccxt.com · Manual: https://github.com/ccxt/ccxt/wiki