Skip to main content

Place CFD Order

Place CFD Order

Description​

This endpoint is used to place an order on a CFD account.

HTTP Request​

  • POST /api/v3/cfd/trade/place-order
  • Rate limit: 1/sec/UID
  • Permission: UTA trade (read & write)
Request
curl -X POST "https://api.bitget.com/api/v3/cfd/trade/place-order" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{"symbol":"XAUUSD","orderType":"market","side":"buy","qty":"1"}'

Request Parameters​

ParametersTypeRequiredDescription
symbolStringYesTrading pair name
orderTypeStringYesOrder type
limit: Limit order
market: Market order
sideStringYesTrade side
buy: Buy
sell: Sell
priceStringNoOrder price
Required when orderType=limit
The price must be an integer multiple of the trading pair's precision
Trading pair precision can be obtained via the Get CFD Instruments endpoint
qtyStringYesOrder quantity
takeProfitStringNoTake-profit price
The take-profit price must be an integer multiple of the trading pair's precision
Trading pair precision can be obtained via the Get CFD Instruments endpoint
stopLossStringNoStop-loss price
The stop-loss price must be an integer multiple of the trading pair's precision
Trading pair precision can be obtained via the Get CFD Instruments endpoint
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1740000000000,
"data": {
"trxId": "111111111111111111"
}
}

Response Parameters​

ParametersTypeDescription
trxIdStringRequest ID

How was your Reading Experience with us?

★
★
★
★
â˜