API Dokumentation

get/api/v1/Trade/portfolio-value

Returns account portfolio summary (balance, equity, margin, PnL) for a trading account owned by the caller — same trailing fields as SignalR {PortfolioUpdated}.

Trade

Parameter

accountId

query · integer

Erforderlich

version

path · string

Erforderlich

Antworten

  • 200Portfolio value summary.application/json
    {
      "currencyName": "USD",
      "currencyId": 148,
      "value": 62672.26,
      "accountValue": -62480.34,
      "positionValue": 130703.58,
      "pnL": -188524.42,
      "uPnL": -53007.39,
      "equity": 62672.26,
      "balance": 115679.65,
      "exposure": 130703.62,
      "marginUsed": 1307.03,
      "marginAvailable": 61365.23
    }
  • 400Invalid account.application/json
    {
      "status": "rejected",
      "message": "Validation failed."
    }
  • 403Caller lacks Trading claim or account not owned.
Alipay
Stripe
Eurex
AWS
Azure
Google Cloud
Currenex
Velocity Trade
Bitcoin
CME
Interactive Brokers
Kraken
FIX API
XTX
Bloomberg
Binance

Starten Sie Ihre Plattform.

Los geht’s.