Struct crypto_rest_client::BitstampRestClient [−][src]
pub struct BitstampRestClient { /* fields omitted */ }
Expand description
The REST client for Bitstamp.
Bitstamp has only Spot market.
- REST API doc: https://www.bitstamp.net/api/
- Trading at: https://www.bitstamp.net/market/tradeview/
- Rate Limits: https://www.bitstamp.net/api/#what-is-api
- Do not make more than 8000 requests per 10 minutes or we will ban your IP address.
Implementations
Get trades.
/v2/transactions/{symbol}/
time
specifies the time interval from which we want the transactions
to be returned. Possible values are “minute”, “hour” (default) or “day”.
For example: https://www.bitstamp.net/api/v2/transactions/btcusd/?time=hour
Get a full Level2 orderbook snapshot.
/// Equivalent to /order_book/symbol
with group=1
For example: https://www.bitstamp.net/api/v2/order_book/btcusd/
Get a full Level3 orderbook snapshot.
Equivalent to /order_book/symbol
with group=2
For example: https://www.bitstamp.net/api/v2/order_book/btcusd/?group=2
Auto Trait Implementations
impl RefUnwindSafe for BitstampRestClient
impl Send for BitstampRestClient
impl Sync for BitstampRestClient
impl Unpin for BitstampRestClient
impl UnwindSafe for BitstampRestClient
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