Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.05 KB

File metadata and controls

34 lines (25 loc) · 1.05 KB

OrderBookDepth

Properties

Name Type Description Notes
code int
message str [optional]
asks List[PriceLevel]
bids List[PriceLevel]
offset int
nonce int

Example

from lighter.models.order_book_depth import OrderBookDepth

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

# convert the object into a dict
order_book_depth_dict = order_book_depth_instance.to_dict()
# create an instance of OrderBookDepth from a dict
order_book_depth_from_dict = OrderBookDepth.from_dict(order_book_depth_dict)

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