添加持仓记录
portfolio_addAdd a simulated holding record to track unrealized gains and losses. Specify symbol, price, volume, and optional market to monitor investment performance.
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": {
"symbol": "<symbol>",
"price": "<price>",
"volume": "<volume>"
},
"name": "portfolio_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | 买入价格 | |
| market | No | 市场: sh=沪市, sz=深市, bj=北交所, hk=港股, us=美股 | sh |
| symbol | Yes | 股票或币种代码 | |
| volume | Yes | 买入数量 |