Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.18 KB

File metadata and controls

37 lines (28 loc) · 1.18 KB

AccountStats

Properties

Name Type Description Notes
collateral str
portfolio_value str
leverage str
available_balance str
margin_usage str
buying_power str
account_trading_mode int
cross_stats AccountMarginStats
total_stats AccountMarginStats

Example

from lighter.models.account_stats import AccountStats

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

# convert the object into a dict
account_stats_dict = account_stats_instance.to_dict()
# create an instance of AccountStats from a dict
account_stats_from_dict = AccountStats.from_dict(account_stats_dict)

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