Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.07 KB

File metadata and controls

35 lines (26 loc) · 1.07 KB

MarketConfig

Properties

Name Type Description Notes
market_margin_mode int
insurance_fund_account_index int
liquidation_mode int
force_reduce_only bool
trading_hours str
funding_fee_discounts_enabled bool
hidden bool

Example

from lighter.models.market_config import MarketConfig

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

# convert the object into a dict
market_config_dict = market_config_instance.to_dict()
# create an instance of MarketConfig from a dict
market_config_from_dict = MarketConfig.from_dict(market_config_dict)

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