API документація

post/api/v1/Trade/positions/close

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

Trade

Параметри

version

path · string

Обов'язковий

Текст запиту

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

Відповіді

  • 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

Запустіть свою платформу.

Почніть.