freqtrade-strategy-backtest

freqtrade-strategy-backtest is a skill for Claude Code, Codex from besoeasy/open-skills. It costs 73 tokens per session (1,238 once invoked), scanned A, original, MIT.

A workflow for testing Freqtrade trading strategies against saved market-price data. Backtesting means replaying past data to estimate how a strategy would have performed, and it compares strategies over the same period.

In plain words
What is it for?
Use it to test a new strategy, compare a current strategy with a proposed one, and inspect results such as profit, risk-adjusted return, and exit reasons.
Why use it?
It avoids misleading comparisons caused by different time ranges or live trading settings that cannot be replayed. It lets you check a strategy before using it with real funds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to test a new strategy, compare a current strategy with a proposed one, and inspect results such as profit, risk-adjusted return, and exit reasons.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/besoeasy/open-skills/freqtrade-strategy-backtest
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add besoeasy/open-skills --skill freqtrade-strategy-backtest
Clone the repo
git clone --depth 1 https://github.com/besoeasy/open-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for freqtrade-strategy-backtest

README.md
[![agentmods](https://agentmods.dev/badge/skills/besoeasy/open-skills/freqtrade-strategy-backtest/github.svg)](https://agentmods.dev/skills/besoeasy/open-skills/freqtrade-strategy-backtest)
Your own site
<a href="https://agentmods.dev/skills/besoeasy/open-skills/freqtrade-strategy-backtest"><img src="https://agentmods.dev/badge/skills/besoeasy/open-skills/freqtrade-strategy-backtest/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for freqtrade-strategy-backtest

Your own site · 80×15
<a href="https://agentmods.dev/skills/besoeasy/open-skills/freqtrade-strategy-backtest"><img src="https://agentmods.dev/badge/skills/besoeasy/open-skills/freqtrade-strategy-backtest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,238 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01238
Opus 5.5 $0.00029 $0.00495
Sonnet 5.5 $0.00015 $0.00248
Haiku 4.5 $0.00007 $0.00124

Measured 2mo ago against content hash 10c7d06d1410, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

freqtrade-strategy-backtest scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/freqtrade-strategy-backtest/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Freqtrade Strategy Backtest

Run reproducible freqtrade backtests from local feather/JSON data and produce an apples-to-apples comparison of candidate strategies. Outcome: summary metrics table (profit %, Sharpe, profit factor, exit breakdown) per strategy over the same timerange.

Quick quality checklist

  • name matches folder name exactly (kebab-case)
  • Commands tested against freqtrade 2025+ venv installs
  • Uses freqtrade built-ins only, no paid data services
  • No personal paths, keys, or exchange credentials in examples

When to use

  • Use case 1: "Test this new strategy before going live"
  • Use case 2: "Compare my current strategy vs a proposed one"
  • Use case 3: ERROR - Pairlist Handlers ... do not support backtesting

Required tools / APIs

  • freqtrade CLI in project venv
  • Locally downloaded OHLCV data (user_data/data/<exchange>/*.feather)

Download data if missing:

VENV/bin/freqtrade download-data --config user_data/config.json --userdir user_data \
  --timeframe 3m --timerange 20260501- --pairs BTC/USDT ETH/USDT

Skills

static_pairlist_override

Live configs with VolumePairList/AgeFilter/etc. cannot backtest. Never edit the live config — overlay a minimal override config instead:

cat > user_data/config.backtest.json <<'EOF'
{
    "pairlists": [
        {
            "method": "StaticPairList"
        }
    ]
}
EOF

# Later -c files override earlier ones; live config stays untouched
VENV/bin/freqtrade backtesting \
  --config user_data/config.json \
  --config user_data/config.backtest.json \
  --userdir user_data \
  --strategy <StrategyName> \
  --timeframe 3m \
  --timerange YYYYMMDD-YYYYMMDD \
  --pairs BTC/USDT ETH/USDT SOL/USDT

compare_candidates

Run each strategy with identical --timeframe, --timerange, and --pairs, then diff the SUMMARY METRICS blocks:

for S in StrategyA StrategyB; do
  VENV/bin/freqtrade backtesting \
    --config user_data/config.json --config user_data/config.backtest.json \
    --userdir user_data --strategy "$S" --timeframe 3m \
    --timerange YYYYMMDD-YYYYMMDD --pairs BTC/USDT ETH/USDT \
    > "/tmp/${S}_backtest.log" 2>&1
done

grep -h "Total profit %\|Sharpe\|Profit factor\|Market change" /tmp/*_backtest.log

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 133 lines · 73 tokens per session scan A 10c7d06d1410

Subscribe to this mod's changes

freqtrade-strategy-backtest is a skill published in the GitHub repository besoeasy/open-skills (132 stars, last pushed 2mo ago), licensed MIT. It adds 73 tokens to every session and 1,238 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

freqtrade-strategy-backtest compared with skills from other repositories

freqtrade-strategy-backtest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
freqtrade-strategy-backtestbesoeasy/open-skillsSkill1322mo agoMITA73Claude Code, Codex
expense-review-policyopenai/openai-cookbookSkill78ktodayMITA17Claude Code, Codex
stripe-link-walletvellum-ai/vellum-assistantSkill1.5kyesterdayMITA52Claude Code, Codex
customer-billing-opshashgraph-online/awesome-codex-pluginsSkill1.6kyesterdayApache-2.0A57Claude Code, Codex
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.6kyesterdayApache-2.0A93Claude Code, Codex
memstack-business-invoice-generatorcwinvestments/memstackSkill43319d agoMITA57Claude Code
liter-llm-running-the-proxyxberg-io/liter-llmSkill269todayMITA45Claude Code