Skip to main content

Authorizations

X-API-Key
string
header
required

Headers

Idempotency-Key
string | null
required

Required, 1-64 characters. Per account: the same key with the same body replays the order.

Maximum string length: 64

Body

application/json

Same fields and bounds as a test order.

quantity
number
required
Required range: x <= 1000000
symbol_code
string
required
Maximum string length: 32
trade_type
string
required
client_order_id
string | null
Maximum string length: 64
expected_price
number | null
Required range: x > 0

Response

Replay of an earlier order.

id
string
required
quantity
string
required
status
string
required

pending, open, closing, closed, rejected or deleted.

status_detail
string
required

The desk's raw status.

symbol_code
string
required
trade_type
string
required
unit
string
required

g or kg.

client_order_id
string | null
close_price
string | null
closed_at
string | null
created_at
string | null
deal_no
integer | null

The desk's deal number.

environment
string
default:production
price
string | null

Rupees, 2 decimals, as a string.

realized_pnl
string | null
source
string | null

Channel: web, mobile, api, ...

total
string | null