Function pyobjects_to_trades

Source
pub fn pyobjects_to_trades(
    data: Vec<Bound<'_, PyAny>>,
) -> PyResult<Vec<TradeTick>>
Expand description

Transforms the given Python objects into a vector of TradeTick objects.

ยงErrors

Returns a PyErr if element conversion fails or the data is not monotonically increasing.