Dividends
get_dividendsThe dividends the user recorded, newest ex-dividend date first: the stock, ex-dividend and pay dates, the dividend per share, the shares, the amount, and what it added to cash. Recording and deleting dividends is done on the website or through the REST API.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_dividends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Latest ex-dividend date, YYYY-MM-DD. | |
| from | No | Earliest ex-dividend date, YYYY-MM-DD. | |
| limit | No | Page size. Default 100. | |
| market | No | hk = Hong Kong, us = United States, cn = China A-shares. | |
| offset | No | Where the page starts; take next_offset from the previous answer. Default 0. | |
| ticker | No | For example 0700.HK or 700 (hk), AAPL (us), 600519.SS or 600519 (cn). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| limit | No | ||
| total | No | ||
| offset | No | ||
| warnings | No | ||
| dividends | No | ||
| next_offset | No |