Expand description
Prelude module for convenient imports
Import everything you need with:
use ccxt_core::prelude::*;Re-exports§
pub use crate::auth::DigestFormat;pub use crate::auth::HashAlgorithm;pub use crate::auth::base64_to_base64url;pub use crate::auth::base64url_decode;pub use crate::auth::eddsa_sign;pub use crate::auth::hash;pub use crate::auth::hmac_sign;pub use crate::auth::jwt_sign;pub use crate::base_exchange::BaseExchange;pub use crate::base_exchange::ExchangeConfig;pub use crate::base_exchange::ExchangeConfigBuilder;pub use crate::base_exchange::MarketCache;pub use crate::error::ContextExt;pub use crate::error::Error;pub use crate::error::Result;pub use crate::exchange::ArcExchange;pub use crate::exchange::BoxedExchange;pub use crate::exchange::Exchange;pub use crate::exchange::ExchangeCapabilities;pub use crate::ws_exchange::FullExchange;pub use crate::ws_exchange::MessageStream;pub use crate::ws_exchange::WsExchange;pub use crate::error::ErrorContext;Deprecated pub use crate::http_client::HttpClient;pub use crate::http_client::HttpConfig;pub use crate::logging::LogConfig;pub use crate::logging::LogFormat;pub use crate::logging::LogLevel;pub use crate::logging::init_logging;pub use crate::logging::try_init_logging;pub use crate::precision::CountingMode;pub use crate::precision::PaddingMode;pub use crate::precision::RoundingMode;pub use crate::precision::decimal_to_precision;pub use crate::precision::number_to_string;pub use crate::precision::precision_from_string;pub use crate::rate_limiter::MultiTierRateLimiter;pub use crate::rate_limiter::RateLimiter;pub use crate::rate_limiter::RateLimiterConfig;pub use crate::retry_strategy::RetryConfig;pub use crate::retry_strategy::RetryStrategy;pub use crate::retry_strategy::RetryStrategyType;pub use crate::time::iso8601;pub use crate::time::microseconds;pub use crate::time::milliseconds;pub use crate::time::parse_date;pub use crate::time::parse_iso8601;pub use crate::time::seconds;pub use crate::time::ymd;pub use crate::time::ymdhms;pub use crate::time::yymmdd;pub use crate::time::yyyymmdd;pub use crate::types::Amount;pub use crate::types::Balance;pub use crate::types::BalanceEntry;pub use crate::types::Currency;pub use crate::types::Fee;pub use crate::types::Market;pub use crate::types::MarketLimits;pub use crate::types::MarketPrecision;pub use crate::types::MarketType;pub use crate::types::Ohlcv;pub use crate::types::Order;pub use crate::types::OrderBook;pub use crate::types::OrderBookEntry;pub use crate::types::OrderBookSide;pub use crate::types::OrderSide;pub use crate::types::OrderStatus;pub use crate::types::OrderType;pub use crate::types::PrecisionMode;pub use crate::types::Price;pub use crate::types::Symbol;pub use crate::types::TakerOrMaker;pub use crate::types::Ticker;pub use crate::types::TickerParams;pub use crate::types::TickerParamsBuilder;pub use crate::types::Timeframe;pub use crate::types::Timestamp;pub use crate::types::Trade;pub use crate::types::TradingLimits;pub use crate::symbol::SymbolError;pub use crate::symbol::SymbolFormatter;pub use crate::symbol::SymbolParser;pub use crate::types::symbol::ContractType;pub use crate::types::symbol::ExpiryDate;pub use crate::types::symbol::ParsedSymbol;pub use crate::types::symbol::SymbolMarketType;pub use crate::ws_client::Subscription;pub use crate::ws_client::WsClient;pub use crate::ws_client::WsConfig;pub use crate::ws_client::WsConnectionState;pub use crate::ws_client::WsMessage;
Structs§
- Decimal
Decimalrepresents a 128 bit representation of a fixed-precision decimal number. The finite set of values of typeDecimalare of the form m / 10e, where m is an integer such that -296 < m < 296, and e is an integer between 0 and 28 inclusive.
Traits§
- Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Serialize
- A data structure that can be serialized into any data format supported by Serde.