POST
/
sapi
/
v1
/
order
curl --request POST \
  --url https://openapi.odyssey.trade/sapi/v1/order \
  --header 'Content-Type: application/json' \
  --data '{
  "symbol": "<string>",
  "volume": 123,
  "side": "BUY",
  "type": "LIMIT",
  "price": 123,
  "newClientOrderId": "<string>"
}'
{
  "orderId": "<string>",
  "clientOrderId": "<string>",
  "symbol": "<string>",
  "transactTime": 123,
  "price": "<string>",
  "origQty": "<string>",
  "executedQty": "<string>",
  "avgPrice": "<string>",
  "type": "LIMIT",
  "side": "BUY",
  "status": "NEW"
}

Body

application/json
symbol
string
required
volume
required
side
enum<string>
required
Available options:
BUY,
SELL,
buy,
sell
type
enum<string>
required
Available options:
LIMIT,
MARKET
price
newClientOrderId
string | null

Response

200
application/json
Successful Response

An object that contains information about the order.

orderId
required
symbol
string
required
price
string
required
origQty
string
required
executedQty
string
required
type
enum<string>
required
Available options:
LIMIT,
MARKET
side
enum<string>
required
Available options:
BUY,
SELL,
buy,
sell
status
enum<string>
required
Available options:
NEW,
New Order,
Partially Filled,
Filled,
Cancelled,
PENDING_CANCEL,
Partially Filled/Cancelled,
REJECTED
clientOrderId
string | null
transactTime
integer | null
avgPrice
string | null