Get lottery history
get_lottery_historyWinning rates and applications of past offering lotteries by year or date range, and every past offering of one stock. Data comes from CubeLV's Taiwan open data service (https://cubelv.com/en/mcp/taiwan-ipo-lottery/): each call names a method and passes its arguments in args.
Methods:
ipoStats (Taiwan IPO lottery statistics): Statistics of drawn IPO lotteries and public offerings for shares listed on TWSE and TPEx, per year and for the whole range: number of drawn offerings, cancelled offerings, median and mean winning rate, the three lowest and highest winning rates, and the median number of qualified applications. With a symbol, the response also lists every past public offering of that stock. Data starts in October 2006. Dates are YYYYMMDD. Args: year: Year of the lottery date, 2006 or later; from: Earliest lottery date, YYYYMMDD; to: Latest lottery date, YYYYMMDD; defaults to today; kind: ipo (initial listing), secondary_offering (cash capital increase) or board_transfer (transfer from the Taiwan Innovation Board); symbol: Stock symbol; returns the history of that stock. Unknown symbols return 404.
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": {
"method": "<method>"
},
"name": "get_lottery_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments of the method, as listed in the tool description | |
| lang | No | Language for data labels (industries, statement items, categories) and links: en, ja, ko or vi; default en | |
| method | Yes | Method from the list in the tool description | |
| offset | No | Position in the longest list of the response to start from. A response whose list is longer than fits carries page.nextOffset for the next part; default 0 |