Files
ritmex-bot/docs/lighter/lighter-python-main/docs/LiquidationInfo.md
T

1.1 KiB

LiquidationInfo

Properties

Name Type Description Notes
positions List[AccountPosition]
risk_info_before RiskInfo
risk_info_after RiskInfo
mark_prices Dict[str, float]

Example

from lighter.models.liquidation_info import LiquidationInfo

# TODO update the JSON string below
json = "{}"
# create an instance of LiquidationInfo from a JSON string
liquidation_info_instance = LiquidationInfo.from_json(json)
# print the JSON string representation of the object
print(LiquidationInfo.to_json())

# convert the object into a dict
liquidation_info_dict = liquidation_info_instance.to_dict()
# create an instance of LiquidationInfo from a dict
liquidation_info_from_dict = LiquidationInfo.from_dict(liquidation_info_dict)

[Back to Model list] [Back to API list] [Back to README]