Commit 32cb424
authored
fix(counter): Drop stale
`SPCX.US` resolved to `ETF/US/SPCX` instead of `ST/US/SPCX`, so every
counter_id-based endpoint queried the wrong instrument type:
```
$ longbridge financial-statement SPCX.US --kind IS --report qf
Error: openapi error: code=2601400: internal server error
```
SPCX used to be the AXS SPAC and New Issue ETF, which has since
delisted; the ticker now belongs to SpaceX (a stock). The embedded
directory in `rust/src/utils/US-ETF.csv` is a static snapshot and is
consulted before the remote-resolved cache, so the stale entry always
won and the backend's correct answer never applied.
Removing the entry lets the symbol fall back to the default `ST/`
prefix. Verified against the live API — `financial-statement`, which
previously failed, now returns SpaceX's quarterly income statement.
🤖 Generated with [Claude Code](https://claude.com/claude-code)ETF/US/SPCX from the embedded directory (#576)1 parent 266d923 commit 32cb424
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5916 | 5916 | | |
5917 | 5917 | | |
5918 | 5918 | | |
5919 | | - | |
5920 | 5919 | | |
5921 | 5920 | | |
5922 | 5921 | | |
| |||
0 commit comments