API Dokumentation

get/api/v1/Trade/positions

Returns open positions for a trading account owned by the caller (instrument, quantities, average price, PnL, side, and related fields). Live bid/ask/trade quotes are included when available.

Trade

Parameter

accountId

query · integer

Erforderlich

version

path · string

Erforderlich

Antworten

  • 200Array of open positions (quantity not zero).application/json
    [
      {
        "instrument": {
          "symbol": "EURUSD.spot",
          "bid": {
            "exchangeDateTime": "2026-07-25T05:07:01.429Z",
            "instrumentId": 0,
            "price": 1.1367,
            "size": 11.4135,
            "dateTime": "2026-07-25T05:07:02.179Z"
          },
          "ask": null,
          "trade": null
        },
        "qtyBought": 78813.24,
        "qtySold": 70900,
        "qty": 7913.24,
        "amount": 7913.24,
        "avgPx": 1.1437,
        "price": 1.1367,
        "openValue": 9050.33,
        "value": 8994.98,
        "valueCCY": 8994.98,
        "pnL": 2624.99,
        "pnLCCY": 2624.99,
        "uPnL": -55.35,
        "uPnLCCY": -55.35,
        "fxccy": "USD",
        "side": 0,
        "oca": "[EURUSD.spot]"
      }
    ]
  • 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.