add_stock_transaction
Record BUY or SELL transactions for stock holdings to maintain accurate portfolio tracking and financial records.
Instructions
Add a new transaction to a stock holdind transaction_type: BUY or SELL
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>",
"holding_id": "<holding_id>",
"transaction_type": "<transaction_type>",
"quantity": "<quantity>",
"price_per_share": "<price_per_share>",
"transaction_date": "<transaction_date>",
"notes": "<notes>"
},
"name": "add_stock_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| holding_id | Yes | ||
| transaction_type | Yes | ||
| quantity | Yes | ||
| price_per_share | Yes | ||
| transaction_date | Yes | ||
| notes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |