place_order
Places a new market, limit, stop-loss, or bracket order through the Upstox API, specifying instrument, quantity, price, trigger, product, and validity.
Instructions
Place a new order (market, limit, stop-loss, bracket).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instrument_token": "<instrument_token>",
"quantity": "<quantity>",
"order_type": "<order_type>",
"transaction_type": "<transaction_type>",
"product": "<product>",
"price": "<price>",
"trigger_price": "<trigger_price>",
"validity": "<validity>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| price | Yes | ||
| is_amo | No | ||
| product | Yes | ||
| quantity | Yes | ||
| validity | Yes | ||
| order_type | Yes | ||
| trigger_price | Yes | ||
| instrument_token | Yes | ||
| transaction_type | Yes | ||
| disclosed_quantity | No |