Struct coinbase_client::public_client::PublicClient[][src]

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

`PublicClient provides public market data

Implementations

get a list of available currency pairs for trading

get market data for a specific currency pair.

get only the best bid and ask

get top 50 bids and asks

get Full order book

get snapshot information about the last trade (tick), best bid/ask and 24h volume.

get the latest trades for a product.

PARAMETERS
before: Request page before (newer) this pagination id.
after: Request page after (older) this pagination id.
limit: Number of results per request. Maximum 1000. (default 1000)

get historic rates for a product

PARAMETERS
start: Start time in ISO 8601
end: End time in ISO 8601
granularity: Desired timeslice in seconds

get 24 hr stats for the product

get known currencies

get the currency for specified id

get the API server time

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.