This is a quantitative trading framework that connects Claude to FinLab's market data and backtesting engine across five markets (Taiwan, US, Korea, Japan, Hong Kong). It handles the full loop: pull price and fundamental data with `data.get()`, build factor conditions using DataFrame methods like `.rise()` and `.is_largest()`, combine them into position signals, then run `sim()` to backtest with realistic fees and slippage. The US market support is detailed, covering filing-date-aligned fundamentals and ETF rotation strategies. You'll need a FinLab API token (free tier gives 500MB daily). The workflow is clean if you're comfortable with pandas-style operations, though the documentation leans heavily on Taiwan market examples.

skills.sh installs
2K
GitHub stars
426
last updated
Aug 21, 2026

Install

$ npx -y skills add koreal6803/finlab-ai --skill finlab --agent claude-code

Installs into .claude/skills of the current project.

Files

FinLab Quantitative Trading Package

Prerequisites

Before running any FinLab code, verify these in order:

  1. uv is installed (Python package manager):

    uv --version
    

    If uv is not installed, tell the user to install it.

    After installing, ensure uv is on PATH:

    source $HOME/.local/bin/env 2>/dev/null  # Add uv to current shell
    
  2. FinLab is installed via uv (requires >= 2.2.15):

    uv python install 3.12  # Ensure Python is available (skip if already installed)
    uv pip install --system "finlab>=2.2.15" 2>/dev/null || uv pip install "finlab>=2.2.15"
    

    Or use uv run for zero-setup execution (recommended for one-off scripts):

    uv run --with "finlab" python3 script.py
    

    uv run --with auto-creates a temporary environment with dependencies — no venv management needed.

    Prefer zero-install? Run notebooks directly in FinLab Studio — a hosted Jupyter environment with finlab preinstalled and your account already logged in.

  3. Logged in to FinLab (finlab >= 2.0; no legacy API token required):

Sponsors

Details

Repository
github.com/koreal6803/finlab-ai
Categories
Documentation, Finance & Trading
First seen
Apr 16, 2026
1github avatarmicrosoft-agent-frameworkgithub/awesome-copilotCreate, update, refactor, explain, or review Microsoft Agent Framework solutions using shared guidance plus language-specific references for .NET and Python.2Kskills.sh installs
2nvidia avatarnemo-automodel-model-onboardingnvidia/skillsGuide for onboarding new model architectures into NeMo AutoModel, including architecture discovery, implementation patterns, registration, and validation.1.9Kskills.sh installs
3daymade avatartranscript-fixerdaymade/claude-code-skillsCorrects speech-to-text transcription errors using dictionary rules and Claude's built-in AI (no external API key required — Native AI Correction is the DEFAULT1.9Kskills.sh installs
4kostja94 avatarbrandingkostja94/marketing-skillsWhen the user wants to define, audit, or apply brand strategy—purpose, values, positioning, storytelling, voice, narrative (not only visuals). Also use when the1.9Kskills.sh installs
5phuryn avatarintended-vs-implementedphuryn/pm-skillsThe method for finding the gap between what a system is supposed to do and what the code actually does — the class of bug generic scanners miss because they hav1.9Kskills.sh installs
6nvidia avatarearth2studio-discovernvidia/skillsFind Earth2Studio models, data sources, and examples for a weather/climate use case. Do NOT use for writing inference code, downloading data, or installation.1.9Kskills.sh installs