position_update
Update stock position records by modifying quantity or cost price for accurate portfolio tracking in the Stock MCP Server.
Instructions
更新持仓记录(数量或成本价)
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": {
"code": "<code>",
"market": "<market>"
},
"name": "position_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 股票代码 | |
| market | Yes | 市场 | |
| quantity | No | 持有数量 | |
| costPrice | No | 成本价 |