API दस्तावेज़ीकरण

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

पैरामीटर

accountId

query · integer

आवश्यक

version

path · string

आवश्यक

जवाब

  • 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

अपने प्लेटफ़ॉर्म को लॉन्च करें।

शुरू करें।