Order
Place buy/sell order
Places a new order for the authenticated API key user.
type: BUY or SELL duration: MIS (intraday) or CNC (delivery) orderType: LIMIT, MKT, or SL
- LIMIT → provide price
- MKT → market order
- SL → provide triggerPrice
Use instrumentToken from GET /api/marketwatch/instruments.
post/api/order/buysell
Request
- Base URL: http://api.megabull.in
- URL: http://api.megabull.in/api/order/buysell
- Auth: API key in header api-key
Request body
Example request
{
"instrumentToken": "256265",
"qty": 50,
"price": 25000,
"triggerPrice": 24800
}Response
Order placed successfully. Response id can be used for modify or bulk cancel.
Changes
No recorded changes to this operation across all 1 revision of this API.