Update Data & Launch Dashboard

VerifiedCaution

Runs the full investment analysis pipeline: fetches stock data, runs GBM and neural network predictions, classic valuations, and launches the dashboard. Helpful when you want to update data and view results live at http://localhost:8080. Supports parameters like --universe to select the stock universe.

Sby Skills Guide Bot
Data & AIIntermediate
1106/2/2026
Claude Code
#stock-analysis#investment-dashboard#financial-modeling#pipeline-automation

Recommended for

Our review

Runs the full investment analysis pipeline: fetches fresh stock data, runs GBM and neural network predictions, classic valuations, regenerates the dashboard, and starts the live server.

Strengths

  • Automates the entire data and model update process in a single command
  • Supports custom universes (sp500, japan, tech, etc.) and step skipping via flags
  • Starts the dashboard in the background for immediate access
  • Uses uv run python for clean, reproducible execution

Limitations

  • Requires internet connectivity for yfinance data fetching
  • Full pipeline can take 10–20 minutes to complete
  • Does not handle port conflicts if the server is already running
When to use it

When you need to refresh stock data, rerun predictions, and view the updated dashboard.

When not to use it

If you only need an isolated part of the analysis (e.g., predictions only without the dashboard), it's better to call the specific script directly with the appropriate options.

Security analysis

Caution
Quality score92/100

The skill uses Bash to start a local dashboard server and run a data pipeline. While the commands themselves are not malicious, they involve network services and script execution that could be risky if the local environment is insecure. No exfiltration or destructive commands are present, but caution is advised.

Findings
  • Starts a background server on port 8080 without explicit guidance on network exposure or authentication
  • Runs bash commands using `uv run python`, which can execute arbitrary code if the user's environment is compromised

Examples

Full default update (S&P 500)
/update
Update with Japan universe, skip neural network
/update --universe japan --skip-nn
Update skipping fetch and GBM to rerun only classic valuations and scanner
/update --universe sp500 --skip-fetch --skip-gbm

name: update description: Fetch fresh stock data, run valuations, generate dashboard, and start the live server. Use when the user wants to update data and view the dashboard. disable-model-invocation: true argument-hint: "[--universe sp500] [--skip-fetch] [--skip-gbm] [--skip-nn] [--skip-classic] [--skip-scanner]" allowed-tools: Bash

Update Data & Launch Dashboard

Run the full investment analysis pipeline and serve the dashboard.

Steps

  1. Start the dashboard server in the background so the user can see progress immediately:

    uv run python neural_network/invest_training_package/scripts/dashboard_server.py &
    

    Tell the user: Dashboard is live at http://localhost:8080

  2. Run the full update pipeline. Pass through any arguments the user provided (universe, skip flags):

    uv run python scripts/update_all.py $ARGUMENTS
    

    This runs (in order, unless skipped):

    • Data fetching from yfinance
    • GBM predictions (6 variants)
    • Neural network multi-horizon predictions
    • Classic valuations (DCF, RIM, ratios, etc.)
    • Dashboard HTML regeneration
    • Opportunity scanner

    The default universe is sp500. Common alternatives: international, japan, tech, growth, europe, spain, all, cached.

  3. Report completion — summarize what ran, how long it took, and remind the user the dashboard is at http://localhost:8080

Important

  • Always use uv run python for all commands
  • Run the dashboard server FIRST so the user gets the link immediately
  • The update pipeline can take 10-20 minutes for a full run; keep the user informed of progress
  • If the dashboard server is already running on port 8080, skip starting it again and just run the update pipeline
  • If the user only says /update with no arguments, default to --universe sp500
Related skills