Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.08 KB

File metadata and controls

34 lines (25 loc) · 1.08 KB

OrderBookOrders

Properties

Name Type Description Notes
code int
message str [optional]
total_asks int
asks List[SimpleOrder]
total_bids int
bids List[SimpleOrder]

Example

from lighter.models.order_book_orders import OrderBookOrders

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

# convert the object into a dict
order_book_orders_dict = order_book_orders_instance.to_dict()
# create an instance of OrderBookOrders from a dict
order_book_orders_from_dict = OrderBookOrders.from_dict(order_book_orders_dict)

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