Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.08 KB

File metadata and controls

31 lines (22 loc) · 1.08 KB

OrderBook

Properties

Name Type Description Notes
asks List[OrderBookEntry] List of asks sorted from lowest to highest price [optional]
bids List[OrderBookEntry] List of bids sorted from highest to lowest price [optional]
timestamp int Unix timestamp in milliseconds [optional]

Example

from luno_openapi.models.order_book import OrderBook

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

# convert the object into a dict
order_book_dict = order_book_instance.to_dict()
# create an instance of OrderBook from a dict
order_book_from_dict = OrderBook.from_dict(order_book_dict)

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