Function pyobjects_to_instrument_closes

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

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

ยงErrors

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