Struct crypto_rest_client::ZbgSpotRestClient [−][src]
pub struct ZbgSpotRestClient { /* fields omitted */ }
Expand description
The RESTful client for ZBG spot market.
- RESTful API doc: https://zbgapi.github.io/docs/spot/v1/en/
- Trading at: https://www.zbg.com/trade/
Implementations
Get the latest Level2 snapshot of orderbook.
Top 200 bids and asks are returned.
For example: https://kline.zbg.com/api/data/v1/entrusts?marketName=btc_usdt&dataSize=200,
Auto Trait Implementations
impl RefUnwindSafe for ZbgSpotRestClient
impl Send for ZbgSpotRestClient
impl Sync for ZbgSpotRestClient
impl Unpin for ZbgSpotRestClient
impl UnwindSafe for ZbgSpotRestClient
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