nautilus_model::python::instruments

Function pyobject_to_instrument_any

source
pub fn pyobject_to_instrument_any(
    py: Python<'_>,
    instrument: PyObject,
) -> PyResult<InstrumentAny>