Expand description
Exc: Abstractions for exchanges.
Re-exports§
pub use util::book::SubscribeBidAskService;
pub use util::fetch_candles::FetchCandlesService;
pub use util::instrument::FetchInstrumentsService;
pub use util::instrument::SubscribeInstrumentsService;
pub use util::subscribe_tickers::SubscribeTickersService;
pub use util::trade::SubscribeTradesService;
pub use util::trading::CheckOrderService;
pub use util::trading::SubscribeOrdersService;
pub use util::trading::TradingService;
pub use util::ExcExt;
pub use exc_core as core;
Modules§
- Binance exchange service.
- Instruments Layer.
- Okx exchange service.
- Prelude.
- Retry utils.
- Types.
- Utils for using low-level apis (
exc::core
).
Structs§
- Layer for creating [
Adapted
]. - Binance.
- The core service wrapper of this crate, which implements
ExcService<T>
if the request type of the underlying service implementsAdaptor<T>
. - Create
Exc
from the givenExcService
. - Okx API.
Enums§
- Exchange Errors.
Traits§
- An adaptor for request.
- An alias of [
Service
] that requires the input type to be aRequest
, and the error type to beExchangeError
. - Service that can be converted into a
Exc
. - Request and Response binding.
Type Aliases§
- The result type of
exc
.