mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
fix(ownership): accept the register's new CONTROLLER_OR_AFFILIATE column
IDX's above-1% register as of 30 Oct 2026 (peng-2026-10-00029) inserts a CONTROLLER_OR_AFFILIATE column after INVESTOR_CLASSIFICATION. The header check rejected any column it did not know, so `ownership import` failed with PARSEERROR and `releases`/`ticker` had nothing to show. Accept that one column by name and skip it; any other unknown column is still rejected, so the above-5% and investor-type workbooks stay out. Storing the flag is a follow-up (ROADMAP). The fixture is an 11-row excerpt of the real October workbook (disclaimer rows, header, BBCA and ZYRX). The full file imports 7,149 rows across 961 tickers; live ownership smoke: 4 passed, 0 failed, no 403. Claude-Session: https://claude.ai/code/session_01RqPPVeVDrnLoP7NUZmLRxY
This commit is contained in:
parent
018d9ba936
commit
1cd8a4b191
5 changed files with 107 additions and 4 deletions
|
|
@ -22,6 +22,12 @@ history lives in git.
|
|||
RSS per ticker, and IDX disclosures and exchange news through a
|
||||
maintainer-published feed
|
||||
|
||||
## Ownership
|
||||
- Store the register's `CONTROLLER_OR_AFFILIATE` flag (from the 30 Oct 2026
|
||||
report; about 1,200 controller and 950 affiliate rows) and show it in
|
||||
`ticker`, `entity` and `changes`, so a controller's moves stand apart.
|
||||
Needs a DB column, the snapshot format, and blank for older reports.
|
||||
|
||||
## Workflow
|
||||
- `watchlist`: named symbol sets usable by other commands
|
||||
- `alerts`: price alerts with a daemon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue