Schema and type definitions for trade summary.
Summary
Types
@type t() :: %ExOanda.TradeSummary{ average_close_price: float() | nil, client_extensions: ExOanda.ClientExtensions.t() | nil, close_time: DateTime.t() | nil, closing_transaction_ids: [String.t()] | nil, current_units: integer() | nil, dividend_adjustment: float() | nil, financing: float() | nil, guaranteed_stop_loss_order_id: String.t() | nil, id: String.t() | nil, initial_margin_required: float() | nil, initial_units: integer() | nil, instrument: ExOanda.Type.Atom.t() | nil, open_time: DateTime.t() | nil, price: float() | nil, realized_pl: float() | nil, state: (:OPEN | :CLOSED | :CLOSE_WHEN_TRADEABLE) | nil, stop_loss_order_id: String.t() | nil, take_profit_order_id: String.t() | nil, trailing_stop_loss_order_id: String.t() | nil, unrealized_pl: float() | nil }