Vai al contenuto
Registrati

Conto

Ottieni i saldi

Quanto detieni in ogni valuta e strumento, e quanto ne hai libero per fare trading.

GET/api/v1/account/balancesOttieni una chiave
curl --request GET \
  --url "https://reirex.com/api/v1/account/balances" \
  --header "GX-API-KEY: $GX_API_KEY" \
  --header "GX-API-TIMESTAMP: $TIMESTAMP" \
  --header "GX-API-SIGN: $SIGNATURE"

200 OKapplication/json

{
  "balances": [
    {
      "currency": "EUR",
      "available": "8980.55",
      "held": "3500.00",
      "total": "12480.55"
    },
    {
      "currency": "BTC",
      "available": "0.42150000",
      "held": "0.00000000",
      "total": "0.42150000"
    },
    {
      "currency": "ASML",
      "available": "12",
      "held": "0",
      "total": "12"
    }
  ]
}

held è ciò che gli ordini aperti hanno riservato, e available ciò che puoi ancora usare. Azioni e materie prime sono elencate con il loro simbolo.

Risposta

  • balancesobject[]

    Una voce per ogni valuta o strumento che detieni.