place_order
Execute buy or sell orders for securities trading by specifying contract, action, quantity, and order type parameters through the Shioaji MCP Server interface.
Instructions
Place a trading order (requires SHIOAJI_TRADING_ENABLED=true)
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": {
"contract": "<contract>",
"action": "<action>",
"quantity": "<quantity>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes | Contract code | |
| action | Yes | Buy or Sell | |
| quantity | Yes | Order quantity | |
| price | No | Order price (optional for market orders) | |
| order_type | No | Order type (ROD, IOC, FOK) |