算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
dashboard-ops【设计与创意】Operate and troubleshoot AlphaGPT's Streamlit dashboard, local state inputs, read-only DB/RPC views, Plotly visualizers, and emergency STOP control.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to launch, inspect, fixture, or troubleshoot
AlphaGPT's Streamlit monitoring dashboard. It covers the dashboard entrypoint,
DashboardService, Plotly visualizers, local state/log files, the market
overview query, auto-refresh behavior, and the emergency STOP button.
best_meme_strategy.json; use factor-mining.portfolio_state.json, best_meme_strategy.json, and strategy.log files in a chosen directory without DB, RPC, or network access.--scope dashboard for import/env checks.portfolio_state.json, best_meme_strategy.json, and strategy.log when expected.QUICKNODE_RPC_URL and wallet/private-key readability only when wallet balance display matters.STOP_SIGNAL; it only affects a runner watching the same path or configured stop path.dashboard/app.py defines a Streamlit page with wallet status, refresh, emergency stop, metrics, Portfolio/Market Scanner/Logs tabs, and optional auto-refresh.DashboardService.get_market_overview(self, limit=50) queries the latest ohlcv time joined with tokens, ordered by liquidity.DashboardService.load_portfolio() reads portfolio_state.json and derives pnl_pct when price fields exist.DashboardService.load_strategy_info() displays best_meme_strategy.json or a not-trained placeholder.DashboardService.get_recent_logs(n=50) tails strategy.log if present.plot_pnl_distribution(portfolio_df) expects symbol and pnl_pct; plot_market_scatter(market_df) expects liquidity, volume, fdv, and symbol.| User intent | Read/run | Notes |
|---|---|---|
| "Create dashboard test files." | scripts/alpha_gpt_dashboard_fixture.py | No DB/RPC/network; use --output-dir. |
| "Why is the portfolio empty?" | references/troubleshooting.md | Missing file, empty JSON, or no positions can all be valid. |
| "Why is Market Scanner blank?" | references/dashboard-reference.md and references/troubleshooting.md | Check DB join/time assumptions and ingestion. |
| "What does EMERGENCY STOP do?" | references/dashboard-reference.md | It writes a local file; it is not a chain transaction canceler. |
| "Can I run Streamlit now?" | references/dashboard-reference.md | Confirm env, working directory, and whether live DB/RPC is authorized. |
The native dashboard is a help-only or tiny-fixture candidate. Prefer static checks and the bundled fixture generator for verification. Do not require a live Streamlit server, wallet, DB, RPC endpoint, or network connection unless the user explicitly authorizes live operational checks and supplies the required services.