GET /trade/v1/orders/{order_id} HTTP/1.1 Host: api.nin.in Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Order details
{}
DELETE /trade/v1/orders/{order_id} HTTP/1.1 Host: api.nin.in Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
Order cancelled
GET /trade/v1/orders HTTP/1.1 Host: api.nin.in Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
List of orders
[ {} ]
BUY
SELL
MARKET
LIMIT
SL
SL-M
CNC
MIS
NRML
DAY
IOC
POST /trade/v1/orders HTTP/1.1 Host: api.nin.in Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 156 { "symbol": "text", "exchange": "text", "transaction_type": "BUY", "order_type": "MARKET", "quantity": 1, "price": 1, "product": "CNC", "validity": "DAY", "trigger_price": 1 }
Order placed successfully
{ "order_id": "text", "status": "text" }
PUT /trade/v1/orders/{order_id} HTTP/1.1 Host: api.nin.in Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 2 {}
Order modified
POST /trade/v1/orders/gtt HTTP/1.1 Host: api.nin.in Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 2 {}
GTT order placed