mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
860 B
860 B
Funding
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| timestamp | int | ||
| value | str | ||
| rate | str | ||
| direction | str |
Example
from lighter.models.funding import Funding
# TODO update the JSON string below
json = "{}"
# create an instance of Funding from a JSON string
funding_instance = Funding.from_json(json)
# print the JSON string representation of the object
print(Funding.to_json())
# convert the object into a dict
funding_dict = funding_instance.to_dict()
# create an instance of Funding from a dict
funding_from_dict = Funding.from_dict(funding_dict)