add-portfolio-transaction
Add cryptocurrency transactions to a manual portfolio in CoinStats, specifying coin, type, date, amount, and price for accurate tracking.
Instructions
Add a transaction to a manual portfolio.
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": {
"coinId": "<coinId>",
"type": "<type>",
"date": "<date>",
"amount": "<amount>",
"price": "<price>"
},
"name": "add-portfolio-transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shareToken | No | Portfolio share token | |
| coinId | Yes | Coin ID | |
| type | Yes | Transaction type | |
| date | Yes | Transaction date in ISO format | |
| amount | Yes | Transaction amount | |
| price | Yes | Price per coin | |
| fee | No | Transaction fee | |
| notes | No | Transaction notes |