nautilus_model::python::instruments

Function pyobject_to_instrument_any

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