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
- Binance exchange service.
- instrument
- Instruments Layer.
- okx
- Okx exchange service.
- prelude
- Prelude.
- retry
- Retry utils.
- types
- Types.
- util
- Utils for using low-level apis (
exc::core
).
Structs§
- Adapt
Layer - Layer for creating [
Adapted
]. - Binance
- Binance.
- Exc
- The core service wrapper of this crate, which implements
ExcService<T>
if the request type of the underlying service implementsAdaptor<T>
. - ExcLayer
- Create
Exc
from the givenExcService
. - Okx
- Okx API.
Enums§
- Exchange
Error - Exchange Errors.
Traits§
- Adaptor
- An adaptor for request.
- ExcService
- An alias of
Service
that requires the input type to be aRequest
, and the error type to beExchangeError
. - IntoExc
- Service that can be converted into a
Exc
. - Request
- Request and Response binding.
Type Aliases§
- Result
- The result type of
exc
.