Skip to main content

Module data

Module data 

Source
Expand description

Data types for the trading domain model.

Modules§

bar
bet
close
custom
Python bindings for CustomData.
delta
deltas
depth
forward
funding
Python bindings for funding rate data types.
greeks
option_chain
order
prices
quote
status
trade

Functions§

data_to_pycapsule
Creates a Python PyCapsule object containing a Rust Data instance.
deserialize_custom_from_json
Deserializes custom data from JSON bytes into a PyO3 CustomData wrapper.
drop_cvec_pycapsule
Drops a PyCapsule containing a CVec structure.
pyobjects_to_bars
Transforms the given Python objects into a vector of Bar objects.
pyobjects_to_book_deltas
Transforms the given Python objects into a vector of OrderBookDelta objects.
pyobjects_to_funding_rates
Transforms the given Python objects into a vector of FundingRateUpdate objects.
pyobjects_to_index_prices
Transforms the given Python objects into a vector of IndexPriceUpdate objects.
pyobjects_to_instrument_closes
Transforms the given Python objects into a vector of InstrumentClose objects.
pyobjects_to_instrument_statuses
Transforms the given Python objects into a vector of InstrumentStatus objects.
pyobjects_to_mark_prices
Transforms the given Python objects into a vector of MarkPriceUpdate objects.
pyobjects_to_quotes
Transforms the given Python objects into a vector of QuoteTick objects.
pyobjects_to_trades
Transforms the given Python objects into a vector of TradeTick objects.
register_custom_data_class
Registers a custom data type (class) with the catalog registry.