mod clock;
mod credentials;
mod deadman;
mod error;
mod events;
mod exchanges;
mod feeds;
mod idempotency;
mod instruments;
mod normalize;
mod observability;
mod options;
mod orderbook;
mod positions;
mod ratelimiter;
mod reconcile;
mod retry;
mod signing;
mod symbol;
mod throttle;
mod traits;
mod transport;
mod types;
mod wsutil;
pub use clock::{NonceGenerator, ServerClock, TokenTtl};
pub use credentials::Credentials;
pub use deadman::DeadMansSwitch;
pub use error::{Error, Result};
pub use events::{BookDelta, BookLevel, Event, OrderBookSnapshot, TradePrint};
pub use exchanges::{
Binance, Bitget, Bybit, Coinbase, Gate, Htx, Kraken, KuCoin, Okx, PaperExchange,
ReplayExchange, Upbit,
};
pub use feeds::{
cross_section, order_book_from_snapshot, trade_from_print, BreadthMember, DerivativesChannel,
DerivativesFeed, DerivativesTickBuilder, FundingRate, Liquidation, LongShortRatio, MarkIndex,
OpenInterest,
};
pub use idempotency::ClientIdGenerator;
pub use instruments::{Instrument, InstrumentCache, InstrumentFilters};
pub use normalize::{format_decimal, parse_decimal, parse_opt_decimal};
pub use observability::{redact, Health};
pub use options::{ExchangeOptions, MarginMode, MarketType, PositionMode, SelfTradePrevention};
pub use orderbook::{BookUpdate, OrderBookBuilder};
pub use positions::{Position, PositionSide};
pub use ratelimiter::{Acquire, WeightedRateLimiter};
pub use reconcile::{reconcile_orders, Reconciliation};
pub use retry::Backoff;
pub use signing::{
hmac_sha256_base64, hmac_sha256_hex, hmac_sha512_base64, hmac_sha512_base64_with_b64_secret,
hmac_sha512_bytes, hmac_sha512_hex, sha256, sha512_hex,
};
pub use symbol::Symbol;
pub use throttle::ThrottledTransport;
pub use traits::{
AdvancedOrders, Derivatives, DerivativesStream, Exchange, Execution, MarketData, WsExecution,
WsUserData,
};
pub use transport::{
HttpMethod, HttpRequest, HttpResponse, HttpTransport, MockHttpTransport, MockWsTransport,
WsConnection, WsTransport,
};
pub use types::{
Balance, OcoRequest, Order, OrderRequest, OrderSide, OrderStatus, OrderType, Ticker,
TimeInForce,
};
pub use wickra_core::Candle;
pub const VERSION: &str = env!("CARGO_PKG_VERSION");