Skip to main content

Place Stock Order

This endpoint submits a stock buy or sell order. Buy orders are quoted in USDC, while sell orders are quoted in the number of underlying shares.

info
  • This endpoint is only available for Market Maker.
  • Supported order type: MARKET, LIMIT, STOP, STOP_LIMIT

HTTP Request

POST/v5/rwa/stocks/order

Request Parameters

ParameterRequiredTypeComments
symboltruestringStock symbol, e.g. TSLA-US, AAPL-US
quoteTokentruestringQuote asset. Currently only USDC is supported
sidetruestringBUY, SELL
typetruestringOrder type. MARKET, LIMIT, STOP, STOP_LIMIT
qtyfalsestringOrder quantity. Required for SELL; required for BUY with type=LIMIT/STOP/STOP_LIMIT. Mutually exclusive with notional
notionalfalsestringNotional amount (USDC). Only valid when side=BUY and type=MARKET. Mutually exclusive with qty
limitPricefalsestringLimit price. Required when type=LIMIT or STOP_LIMIT
stopPricefalsestringTrigger price. Required when type=STOP or STOP_LIMIT
timeInForcetruestringTime in force: DAY / GTC / IOC. SELL only supports DAY / GTC; IOC requires type=LIMIT + whole-share qty + tradingSession=RTH
tradingSessionfalsestringTrading session. RTH (default), 24H. Non-RTH sessions accept LIMIT orders only
tokenizefalsebooleanWhether to auto tokenize after the order is filled. Default: false. Only valid for BUY
orderTimetrueintegerClient order timestamp in milliseconds
requestIdtruestringIdempotency key. Length ≤ 36. Alphanumeric plus - _. Must be unique within 24 hours for the same MM account

Response Parameters

ParameterTypeComments
orderNostringSystem order number
orderStatusstringInitial order status
acceptedTimeintegerServer accepted timestamp in milliseconds
requestIdstringEcho of the client idempotency key
info

The acknowledgement of a place order request indicates that the request was successfully accepted. Please poll the Get Stock Order Detail endpoint to confirm the final order status.


Request Example

POST /v5/rwa/stocks/order HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1787656687706
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXX
Content-Type: application/json

{
"symbol": "TSLA-US",
"quoteToken": "USDC",
"side": "BUY",
"type": "LIMIT",
"qty": "2",
"limitPrice": "300.00",
"timeInForce": "DAY",
"tradingSession": "RTH",
"orderTime": 1787656687706,
"requestId": "mm-ord-20260819-0007"
}

Response Example

{
"retCode": 0,
"retMsg": "ok",
"result": {
"orderNo": "SB227696733955111526412",
"orderStatus": "PENDING",
"acceptedTime": 1787657753833,
"requestId": "mm-ord-20260819-0007"
},
"retExtInfo": {},
"time": 1755590400200
}