Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.01 KB

File metadata and controls

36 lines (27 loc) · 1.01 KB

Candlestick

Properties

Name Type Description Notes
timestamp int
open float
high float
low float
close float
volume0 float
volume1 float
last_trade_id int

Example

from lighter.models.candlestick import Candlestick

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

# convert the object into a dict
candlestick_dict = candlestick_instance.to_dict()
# create an instance of Candlestick from a dict
candlestick_from_dict = Candlestick.from_dict(candlestick_dict)

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