Expand description
Data types for the trading domain model.
Re-exports§
pub use bar::Bar;pub use bar::BarSpecification;pub use bar::BarType;pub use close::InstrumentClose;pub use delta::OrderBookDelta;pub use deltas::OrderBookDeltas;pub use deltas::OrderBookDeltas_API;pub use depth::DEPTH10_LEN;pub use depth::OrderBookDepth10;pub use funding::FundingRateUpdate;pub use greeks::BlackScholesGreeksResult;pub use greeks::GreeksData;pub use greeks::PortfolioGreeks;pub use greeks::YieldCurveData;pub use greeks::black_scholes_greeks;pub use greeks::imply_vol_and_greeks;pub use order::BookOrder;pub use order::NULL_ORDER;pub use prices::IndexPriceUpdate;pub use prices::MarkPriceUpdate;pub use quote::QuoteTick;pub use status::InstrumentStatus;pub use trade::TradeTick;
Modules§
- bar
- Bar aggregate structures, data types and functionality.
- bet
- Domain model representing a Bet used by betting-market integrations (e.g. prediction markets).
- close
- An
InstrumentClosedata type representing an instrument close at a venue. - delta
- An
OrderBookDeltadata type intended to carry book state information. - deltas
- An
OrderBookDeltascontainer type to carry a bulk ofOrderBookDeltarecords. - depth
- An
OrderBookDepth10aggregated top-of-book data type with a fixed depth of 10 levels per side. - funding
- Domain types representing funding rate data for perpetual swap instruments.
- greeks
- Option Greeks data structures (delta, gamma, theta, vega, rho) used throughout the platform.
- order
- A
BookOrderfor use with theOrderBookandOrderBookDeltadata type. - prices
- Domain types representing price data (index-price, mark-price, etc.).
- quote
- A
QuoteTickdata type representing a top-of-book state. - status
- An
InstrumentStatusdata type representing a change in an instrument market status. - stubs
- Type stubs to facilitate testing.
- trade
- A
TradeTickdata type representing a single trade in a market.
Structs§
- Data
Type - Represents a data type including metadata.
Enums§
- Data
- A built-in Nautilus data type.
Traits§
- HasTs
Init - Marker trait for types that carry a creation timestamp.
Functions§
- is_
monotonically_ increasing_ by_ init - Checks if the data slice is monotonically increasing by initialization timestamp.
- to_
variant - Converts a vector of
Dataitems to a specific variant type.