Bourse.OrderList (bourse v0.7.0)

Copy Markdown View Source

Unified order-group data.

An order list has its own identifier and lifecycle while referencing multiple constituent orders. The orders entries are the exchange's order references, not full %Bourse.Order{} rows.

Summary

Functions

JSON Schema for the OrderList unified type.

Types

t()

@type t() :: %Bourse.OrderList{
  client_order_id: String.t() | nil,
  datetime: String.t() | nil,
  id: String.t() | nil,
  info: map() | nil,
  orders: [map()],
  status: String.t() | nil,
  status_type: String.t() | nil,
  symbol: String.t() | nil,
  timestamp: integer() | nil,
  type: String.t() | nil
}

Functions

schema()

@spec schema() :: map()

JSON Schema for the OrderList unified type.