ExOanda.GuaranteedStopLossOrderTransaction (ExOanda v0.2.3)

Copy Markdown View Source

Schema for Oanda guarantee stop loss order transaction.

Oanda Docs

Summary

Types

t()

@type t() :: %ExOanda.GuaranteedStopLossOrderTransaction{
  account_id: String.t() | nil,
  batch_id: String.t() | nil,
  cancelling_transaction_id: String.t() | nil,
  client_extensions: ExOanda.ClientExtensions.t() | nil,
  client_trade_id: String.t() | nil,
  distance: float() | nil,
  gtd_time: DateTime.t() | nil,
  guaranteed_execution_premium: float() | nil,
  id: String.t() | nil,
  order_fill_transaction_id: String.t() | nil,
  price: float() | nil,
  reason: (:NATURAL_STOP_LOSS | :GUARANTEED_STOP_LOSS_ORDER_FILL) | nil,
  replaces_order_id: String.t() | nil,
  request_id: String.t() | nil,
  time: DateTime.t() | nil,
  time_in_force: (:GTC | :GTD | :GFD | :FOK | :IOC) | nil,
  trade_id: String.t() | nil,
  trigger_condition: (:DEFAULT | :INVERSE | :BID | :ASK | :MID) | nil,
  type: ExOanda.Type.Atom.t() | nil,
  user_id: integer() | nil
}