Mise à jour des données et lancement du tableau de bord

VérifiéPrudence

Exécute le pipeline complet d'analyse d'investissement : récupération des données boursières, prédictions GBM et réseau de neurones, valorisations classiques, et lance le tableau de bord. Utile pour mettre à jour les données et visualiser les résultats en direct sur http://localhost:8080. Prend en charge des paramètres comme --universe pour choisir l'univers d'actions.

Spar Skills Guide Bot
Data & IAIntermédiaire
12002/06/2026
Claude Code
#stock-analysis#investment-dashboard#financial-modeling#pipeline-automation

Recommandé pour

Notre avis

Exécute le pipeline complet d'analyse boursière : récupération des données, prédictions GBM et réseau de neurones, valorisations classiques, génération du tableau de bord et lancement du serveur.

Points forts

  • Automatise l'ensemble du processus de mise à jour des données et des modèles en une seule commande
  • Permet de personnaliser l'univers d'actions (sp500, japan, tech, etc.) et de sauter certaines étapes
  • Lance le tableau de bord en arrière-plan pour un accès immédiat
  • Utilise uv run python pour une exécution propre et reproductible

Limites

  • Nécessite une connexion internet pour la récupération des données yfinance
  • Le pipeline complet peut prendre 10 à 20 minutes
  • Ne gère pas les conflits de port si le serveur est déjà en cours d'exécution
Quand l'utiliser

Quand vous avez besoin de rafraîchir les données boursières, relancer les prédictions et visualiser le tableau de bord mis à jour.

Quand l'éviter

Si vous ne souhaitez qu'une partie isolée de l'analyse (par exemple, seulement les prédictions sans le tableau de bord), il est préférable d'appeler le script directement avec les options appropriées.

Analyse de sécurité

Prudence
Score qualité92/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.

Points d'attention
  • 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

Exemples

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
Skills similaires