API dokumentation

post/api/v1/Trade/positions/close

Closes an open position with a market order for the full position quantity.

Trade

Parametrar

version

path · string

Nödvändig

Begäran kropp

{
  "accountId": 0,
  "instrument": "string"
}

Svar

  • 202Close accepted.application/json
    {
      "status": "accepted",
      "message": "Close position accepted."
    }
  • 400Validation failed.application/json
    {
      "status": "rejected",
      "message": "Instrument is required."
    }
Alipay
Stripe
Eurex
AWS
Azure
Google Cloud
Currenex
Velocity Trade
Bitcoin
CME
Interactive Brokers
Kraken
FIX API
XTX
Bloomberg
Binance

Lansera din plattform.

Kom igång.