ccxt_prediction/lib.rs
1// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
2// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
3//
4// `ccxt-prediction` is the typed prediction-market API: per-venue wrappers
5// (`ccxt_prediction::Kalshi`, `::Polymarket`, … with `fetch_ticker() ->
6// Result<Ticker>`) over the prediction Cores that live in the `ccxt-base`
7// engine. Mirrors how `ccxt` wraps the REST Cores. It re-exports the whole
8// `ccxt-base` surface at its root (except `prediction`, which this crate
9// declares itself — its `prediction/mod.rs` re-exports the engine's Cores).
10
11pub use ccxt_base::{
12 error, value, types, params, exchange, precise, runtime, exchange_errors, exchange_stubs,
13 exchange_generated, exchanges, prediction_exchange, prediction_exchange_generated,
14};
15pub use ccxt_base::{
16 Value, get_value, set_value, safe_string, safe_number, safe_integer, safe_bool,
17 ExchangeError, Exchange, Result, Params, Config,
18};
19
20pub mod prediction;
21pub mod typed;
22pub use typed::*;