API Dokumentation

post/api/v1/Trade/positions/reverse

Reverses an open position with an immediate-or-cancel market order for twice the position quantity (flatten then open the opposite side).

Trade

Parameter

version

path · string

Erforderlich

Anforderungstext

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

Antworten

  • 202Reverse accepted.application/json
    {
      "status": "accepted",
      "message": "Reverse position accepted.",
      "orderId": -45
    }
  • 400Validation failed or no open position.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

Starten Sie Ihre Plattform.

Los geht’s.