portfolio-run

Automate portfolio run directory setup and artifact copying with strategy_lab.

33|2|Updated May 13, 2026
One-click install
npx skills add https://github.com/adennng/stock_strategy_lab --skill portfolio-run
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: portfolio-run
Source: https://github.com/adennng/stock_strategy_lab/tree/main/src/strategy_lab/skills/portfolio_agent/portfolio-run
Command: npx skills add https://github.com/adennng/stock_strategy_lab --skill portfolio-run

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires strategy_lab, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the setup of portfolio run directories, copying budget and signal layer artifacts, and managing the portfolio run state.

Core Features & Use Cases

  • Portfolio Run Setup: Automates the creation of portfolio run directories and copying of necessary artifacts.
  • Budget and Signal Layer Artifacts: Copies budget layer final strategies and signal layer source products.
  • State Management: Generates a portfolio_run_state.json file to track the state of the portfolio run.
  • Use Case: Ideal for users who have trained a budget layer run and wish to initiate a portfolio layer training, ensuring all necessary artifacts are in place for a seamless workflow.

Quick Start

Execute the portfolio run skill with the command: python -m strategy_lab.cli portfolio new-run SOURCE_BUDGET_RUN_PATH --task "Prepare portfolio run."

Frequently Asked Questions about portfolio-run

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a portfolio run directory and copy artifacts from a budget layer?

To set up a portfolio run, you can automate directory creation and artifact copying by executing the strategy_lab CLI command, specifying the source budget run path and a task description to initiate the portfolio layer training workflow.

What is portfolio run state management in Python?

Portfolio run state management is the process of tracking the lifecycle of a portfolio training run by generating a portfolio_run_state.json file, ensuring all budget and signal layer artifacts are properly organized and monitored.

Do I need a trained budget layer run to start portfolio layer training?

Yes, you need a trained budget layer run as the source. The portfolio run setup requires this source path to copy final strategies and signal layer source products for downstream training.

Can I use strategy_lab to copy signal layer source products automatically?

Yes, the strategy_lab package supports copying signal layer source products and budget layer final strategies automatically when you execute the portfolio new-run command with the correct source budget run path.

What's the best way to automate portfolio run setup and state tracking?

The best way to automate portfolio run setup is using a Python script that handles directory creation, artifact copying, and state file generation, streamlining the transition from budget layer training to portfolio layer training.