Skip to main content

Module margin_model

Module margin_model 

Source
Expand description

Python bindings for margin model types.

Structs§

PyMarginModel
Base class for Python-defined margin models.
PythonMarginModel
Retains the Python instance used by margin accounts and configuration clones.

Functions§

margin_model_any_to_pyobject
Converts a margin model into its Python object without copying Python state.
pyobject_to_margin_model_any
Extracts a built-in or Python margin model, retaining Python instance state.