pi-stock-ticker
Real-time stock watchlist & scrolling ticker for pi coding agent. Supports US stocks and A-shares.
Package details
Install pi-stock-ticker from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-stock-ticker- Package
pi-stock-ticker- Version
0.1.0- Published
- Feb 28, 2026
- Downloads
- 36/mo · 6/wk
- Author
- zhongzy
- License
- MIT
- Types
- extension
- Size
- 14.8 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"extensions": [
"./extensions/pi-stock.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-stock-ticker 📈
Real-time stock watchlist & scrolling ticker for pi coding agent.
Install
pi install npm:pi-stock-ticker
Features
- Auto-start: Ticker scrolls in footer as soon as pi starts
- 15s auto-refresh: Prices update via Yahoo Finance (free, no API key)
- US + A-shares:
AAPL,NVDA,600519.SS(沪),000858.SZ(深) - Color-coded: Green for up, red for down
- Market state: ● trading, ◐ pre-market, ◑ post-market, ○ closed
- Persistent: Watchlist saves to session
Commands
| Command | Description |
|---|---|
/stock |
Show watchlist panel |
/stock add AAPL NVDA |
Add symbols |
/stock add 600519.SS |
Add A-share (沪: .SS, 深: .SZ) |
/stock rm AAPL |
Remove symbol |
/ticker |
Toggle footer ticker on/off |
Footer
claude-sonnet-4 ⎇main 13:43
📈 ● AAPL 198.50 +1.18% │ ● NVDA 135.20 -2.21% │ ○ 600519.SS 1856.00 +0.68%
Default Watchlist
AAPL, NVDA, GOOGL — customize with /stock add and /stock rm.