mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
1.4 KiB
1.4 KiB
AccountMarketStats
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| market_id | int | ||
| daily_trades_count | int | ||
| daily_base_token_volume | float | ||
| daily_quote_token_volume | float | ||
| weekly_trades_count | int | ||
| weekly_base_token_volume | float | ||
| weekly_quote_token_volume | float | ||
| monthly_trades_count | int | ||
| monthly_base_token_volume | float | ||
| monthly_quote_token_volume | float | ||
| total_trades_count | int | ||
| total_base_token_volume | float | ||
| total_quote_token_volume | float |
Example
from lighter.models.account_market_stats import AccountMarketStats
# TODO update the JSON string below
json = "{}"
# create an instance of AccountMarketStats from a JSON string
account_market_stats_instance = AccountMarketStats.from_json(json)
# print the JSON string representation of the object
print(AccountMarketStats.to_json())
# convert the object into a dict
account_market_stats_dict = account_market_stats_instance.to_dict()
# create an instance of AccountMarketStats from a dict
account_market_stats_from_dict = AccountMarketStats.from_dict(account_market_stats_dict)