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

プラットフォームを立ち上げましょう。

はじめましょう。