position_add
Add a new stock position to your portfolio by specifying code, quantity, cost price, currency, and market for tracking investments.
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>",
"name": "<name>",
"quantity": "<quantity>",
"costPrice": "<costPrice>",
"currency": "<currency>",
"market": "<market>"
},
"name": "position_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 股票代码 | |
| name | Yes | 股票名称 | |
| quantity | Yes | 持有数量 | |
| costPrice | Yes | 成本价 | |
| currency | Yes | 货币单位,如 CNY、HKD、USD | |
| market | Yes | 市场 |