get_upcoming_events
Retrieve upcoming A-share events due within a set number of days, including lockup expirations, regulatory deadlines, and buyback periods.
Instructions
Get events due within the next N days — early warning for expirations and deadlines. Covers: lockup share expiration dates (限售股解禁到期), share reduction plan deadlines (减持计划到期), delisting period end dates (退市整理期结束), buyback implementation deadlines (回购实施到期), and regulatory letter reply deadlines (监管函回复截止日). Each result includes: event_id, event_type, stock_code, stock_name, due_date (ISO 8601 date, YYYY-MM-DD), days_remaining (integer countdown), and ai_summary. Use when: you need a forward-looking calendar — what lockup expirations, regulatory deadlines, or buyback periods are ending soon. Do NOT use when: you need historical event data or events without a future due date (use search_events_by_stock/type for general event queries). Returns a JSON array of upcoming events, ordered by due_date ascending (soonest first). Max look-ahead: 30 days. Only events with status=active|updating are included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stock_codes | No | Comma-separated 6-digit stock codes. Empty = all stocks. | |
| days | No | Number of days to look ahead. Default: 7, Max: 30. | |
| event_types | No | Comma-separated event types to filter. Empty = all types. |