Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.52 KB

DetailedAccount.md

File metadata and controls

45 lines (36 loc) · 1.52 KB

DetailedAccount

Properties

Name Type Description Notes
code int
message str [optional]
account_type int
index int
l1_address str
cancel_all_time int
total_order_count int
pending_order_count int
status int
collateral str
name str
description str
positions List[AccountPosition]
total_asset_value str
market_stats List[AccountMarketStats]
pool_info PublicPoolInfo
shares List[PublicPoolShare]

Example

from lighter.models.detailed_account import DetailedAccount

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

# convert the object into a dict
detailed_account_dict = detailed_account_instance.to_dict()
# create an instance of DetailedAccount from a dict
detailed_account_from_dict = DetailedAccount.from_dict(detailed_account_dict)

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