View Source BitpandaApi.Api.Trades (Bitpanda API v0.1.0)

Api call to collect user's trades

Link to this section Summary

Functions

Collect trades for user

Collect trades for user. Raises exception on error

Link to this section Types

@type trade_data() :: %{
  attributes: %{
    status: String.t(),
    type: String.t(),
    cryptocoin_id: String.t(),
    cryptocoin_symbol: String.t(),
    fiat_id: String.t(),
    amount_fiat: String.t(),
    amount_cryptocoin: String.t(),
    fiat_to_eur_rate: String.t(),
    fiat_wallet_id: String.t(),
    related_swap_trade: trade_data() | nil,
    time: %{date_iso8601: DateTime.t()},
    price: String.t()
  },
  id: String.t(),
  type: String.t()
}

Link to this section Functions

Link to this function

get(apikey, type \\ nil)

View Source

Collect trades for user

Link to this function

get!(apikey, type \\ nil)

View Source

Collect trades for user. Raises exception on error