mirror of
https://github.com/himself65/finance-skills.git
synced 2026-09-14 14:40:40 +08:00
7d67321a31
opencli runtime (1.7.19) calls `cmd.func(kwargs, debug)` for `browser: false` commands, but every data command in this plugin declared the legacy two-arg `(_page, args)` form. That made `args` receive `debug` (undefined) and every ticker / strike / filter argument deserialize to `undefined` — e.g. `quote --ticker SMTC` failed with `No quote returned for UNDEFINED:UNDEFINED`. Drop the unused `_page` parameter so the signature matches the runtime contract for non-browser commands. Affected commands: alerts, chart-state, launch, news, options-chain, options-expiries, quote, screener, screenshot, search, watchlists. (status was already correct — takes no args.) Verified: `opencli tradingview quote --ticker SMTC --exchange NASDAQ` returns `NASDAQ:SMTC close 139.74` after the fix. Plugin tests (42/42) still pass.