buy
Purchase units of a financial symbol at a given price, updating cost basis for existing holdings or opening a new position.
Instructions
加仓/建仓:已有 symbol 加权平均成本,新 symbol 直接建仓。price 与 currency 同币种。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | equity | |
| price | Yes | ||
| units | Yes | ||
| symbol | Yes | ||
| currency | No | CNY | |
| unit_label | No | 股 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |