Struct crypto_rest_client::MxcSpotRestClient [−][src]
pub struct MxcSpotRestClient { /* fields omitted */ }Expand description
MXC Spot market.
- REST API doc: https://mxcdevelop.github.io/APIDoc/
- Trading at: https://www.mxc.com/trade/pro
- Rate Limits: https://mxcdevelop.github.io/APIDoc/open.api.v2.en.html#rate-limit
- The default rate limiting rule for an endpoint is 20 times per second.
Implementations
Get latest trades.
1000 trades are returned.
For example: https://www.mxc.co/open/api/v2/market/deals?symbol=BTC_USDT&limit=1000
Get latest Level2 snapshot of orderbook.
Top 2000 bids and asks will be returned.
For example: https://www.mxc.co/open/api/v2/market/depth?symbol=BTC_USDT&depth=2000
Auto Trait Implementations
impl RefUnwindSafe for MxcSpotRestClient
impl Send for MxcSpotRestClient
impl Sync for MxcSpotRestClient
impl Unpin for MxcSpotRestClient
impl UnwindSafe for MxcSpotRestClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more