bourse.core.OrderBook.get_orders() list[tuple]

Get order data

Return a list of all orders created for the market including all completed/cancelled/rejected orders.

Returns:

list – List of tuples records representing all orders created, with fields:

  • side (True indicates bid-side)

  • status of the order

  • arrival time of the order

  • end time of the order

  • Remaining volume of the order

  • Starting volume of the order

  • Price of the order

  • Id of the trader/agent who placed the order

  • Id of the order