mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
61 lines
2.1 KiB
Markdown
61 lines
2.1 KiB
Markdown
# PerpsOrderBookDetail
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**symbol** | **str** | |
|
|
**market_id** | **int** | |
|
|
**market_type** | **str** | |
|
|
**base_asset_id** | **int** | |
|
|
**quote_asset_id** | **int** | |
|
|
**status** | **str** | |
|
|
**taker_fee** | **str** | |
|
|
**maker_fee** | **str** | |
|
|
**liquidation_fee** | **str** | |
|
|
**min_base_amount** | **str** | |
|
|
**min_quote_amount** | **str** | |
|
|
**order_quote_limit** | **str** | |
|
|
**supported_size_decimals** | **int** | |
|
|
**supported_price_decimals** | **int** | |
|
|
**supported_quote_decimals** | **int** | |
|
|
**size_decimals** | **int** | |
|
|
**price_decimals** | **int** | |
|
|
**quote_multiplier** | **int** | |
|
|
**default_initial_margin_fraction** | **int** | |
|
|
**min_initial_margin_fraction** | **int** | |
|
|
**maintenance_margin_fraction** | **int** | |
|
|
**closeout_margin_fraction** | **int** | |
|
|
**last_trade_price** | **float** | |
|
|
**daily_trades_count** | **int** | |
|
|
**daily_base_token_volume** | **float** | |
|
|
**daily_quote_token_volume** | **float** | |
|
|
**daily_price_low** | **float** | |
|
|
**daily_price_high** | **float** | |
|
|
**daily_price_change** | **float** | |
|
|
**open_interest** | **float** | |
|
|
**daily_chart** | **Dict[str, float]** | |
|
|
**market_config** | [**MarketConfig**](MarketConfig.md) | |
|
|
|
|
## Example
|
|
|
|
```python
|
|
from lighter.models.perps_order_book_detail import PerpsOrderBookDetail
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of PerpsOrderBookDetail from a JSON string
|
|
perps_order_book_detail_instance = PerpsOrderBookDetail.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(PerpsOrderBookDetail.to_json())
|
|
|
|
# convert the object into a dict
|
|
perps_order_book_detail_dict = perps_order_book_detail_instance.to_dict()
|
|
# create an instance of PerpsOrderBookDetail from a dict
|
|
perps_order_book_detail_from_dict = PerpsOrderBookDetail.from_dict(perps_order_book_detail_dict)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|