Struct crypto_rest_client::BitstampRestClient[][src]

pub struct BitstampRestClient { /* fields omitted */ }
Expand description

The REST client for Bitstamp.

Bitstamp has only Spot market.

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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