View Source BitpandaApi.Entity.Trade (Bitpanda API v0.1.0)

Bitpanda Trade entity

Link to this section Summary

Types

Defines the status of a trade

t()

A bitpanda Trade

Trade type

Link to this section Types

@type status() :: :pending | :processing | :finished | :canceled

Defines the status of a trade

@type t() :: %BitpandaApi.Entity.Trade{
  amount_asset: Decimal.t(),
  amount_fiat: Decimal.t(),
  datetime: DateTime.t(),
  fiat_to_eur_rate: Decimal.t(),
  id: String.t(),
  id_asset: String.t(),
  id_fiat: String.t(),
  id_wallet: String.t(),
  price: Decimal.t(),
  related_swap_trade: t() | nil,
  status: status(),
  symbol: String.t(),
  type: type()
}

A bitpanda Trade

@type type() :: :buy | :sell

Trade type