mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
925 B
925 B
RiskInfo
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| cross_risk_parameters | RiskParameters | ||
| isolated_risk_parameters | List[RiskParameters] |
Example
from lighter.models.risk_info import RiskInfo
# TODO update the JSON string below
json = "{}"
# create an instance of RiskInfo from a JSON string
risk_info_instance = RiskInfo.from_json(json)
# print the JSON string representation of the object
print(RiskInfo.to_json())
# convert the object into a dict
risk_info_dict = risk_info_instance.to_dict()
# create an instance of RiskInfo from a dict
risk_info_from_dict = RiskInfo.from_dict(risk_info_dict)