Expand description
Data specific messages such as subscriptions and requests.
Re-exports§
pub use request::RequestBars;pub use request::RequestBookDeltas;pub use request::RequestBookDepth;pub use request::RequestBookSnapshot;pub use request::RequestCustomData;pub use request::RequestFundingRates;pub use request::RequestInstrument;pub use request::RequestInstruments;pub use request::RequestJoin;pub use request::RequestOptionChainReferencePrice;pub use request::RequestQuotes;pub use request::RequestTrades;pub use response::BarsResponse;pub use response::BookDeltasResponse;pub use response::BookDepthResponse;pub use response::BookResponse;pub use response::CustomDataResponse;pub use response::FundingRatesResponse;pub use response::InstrumentResponse;pub use response::InstrumentsResponse;pub use response::OptionChainReferencePriceResponse;pub use response::QuotesResponse;pub use response::TradesResponse;pub use subscribe::SubscribeBars;pub use subscribe::SubscribeBookDeltas;pub use subscribe::SubscribeBookDepth;pub use subscribe::SubscribeBookSnapshots;pub use subscribe::SubscribeCustomData;pub use subscribe::SubscribeFundingRates;pub use subscribe::SubscribeIndexPrices;pub use subscribe::SubscribeInstrument;pub use subscribe::SubscribeInstrumentClose;pub use subscribe::SubscribeInstrumentStatus;pub use subscribe::SubscribeInstruments;pub use subscribe::SubscribeMarkPrices;pub use subscribe::SubscribeOptionChain;pub use subscribe::SubscribeOptionGreeks;pub use subscribe::SubscribeQuotes;pub use subscribe::SubscribeTrades;pub use subscribe::SubscriptionError;pub use unsubscribe::UnsubscribeBars;pub use unsubscribe::UnsubscribeBookDeltas;pub use unsubscribe::UnsubscribeBookDepth;pub use unsubscribe::UnsubscribeBookSnapshots;pub use unsubscribe::UnsubscribeCustomData;pub use unsubscribe::UnsubscribeFundingRates;pub use unsubscribe::UnsubscribeIndexPrices;pub use unsubscribe::UnsubscribeInstrument;pub use unsubscribe::UnsubscribeInstrumentClose;pub use unsubscribe::UnsubscribeInstrumentStatus;pub use unsubscribe::UnsubscribeInstruments;pub use unsubscribe::UnsubscribeMarkPrices;pub use unsubscribe::UnsubscribeOptionChain;pub use unsubscribe::UnsubscribeOptionGreeks;pub use unsubscribe::UnsubscribeQuotes;pub use unsubscribe::UnsubscribeTrades;
Modules§
Structs§
- Data
Request Failed - An adapter request failure, optionally carrying data collected before the failure.
- Data
Response Envelope - A historical payload and the completion state of its root request.
- Identifier
Count Error - A rejected identifier count for a single-member data path.
Enums§
- Data
Command - Data
Response - Quote
Routing - The engine route shared by every member of a quote subscription.
- Request
Command - Subscribe
Command - Unsubscribe
Command
Constants§
- PARAMS_
IS_ PARENT - Params key used to flag a book subscription as targeting a parent symbol.
Traits§
- Into
BarTypes - Converts a single bar type or collection to a non-empty list.
- Into
Instrument Ids - Converts a single instrument ID or collection to a non-empty list.
Functions§
- ensure_
routable_ bar_ types - Checks that a list can route through one venue or an explicit client.
- ensure_
routable_ instrument_ ids - Checks that a list can route through one venue or an explicit client.
- ensure_
subscription_ routes - Checks identifier-list routing for instrument metadata, books, status, close, and option greeks.
- is_
parent_ subscription - Returns
truewhenparamscarries thePARAMS_IS_PARENTflag set totrue. - quote_
routing - Returns the common quote route using the current instrument cache and spread parameters.