freqtrade is a live-first crypto bot with the best bias detectors in the field and a backtester that assumes zero slippage always. TRIGGER - freqtrade, "freqtrade backtesting", freqtrade trade/hyperopt/download-data, lookahead-analysis, recursive-analysis, startup_candle_count, IStrategy, populate_indicators, populate_entry_trend, populate_exit_trend, custom_stoploss, stoploss_on_exchange, minimal_roi, trailing_stop, VolumePairList, StaticPairList, dry_run, dry_run_wallet, config.json, user_data/strategies, FreqAI, freqtrade GPL. Monthly YYYY.M releases have renamed the strategy callbacks repeatedly, so remembered method names are usually the old ones. SKIP for backtesting-engines, the skill for equity and futures bar engines. SKIP when the question is WHICH library to choose, or names no library at all - both belong to the domain skill.
Ships in fin-libraries. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A live-first retail crypto bot that ships the best bias-detection tooling in the entire domain — and an optimistic backtester whose assumptions it is honest enough to publish in full.
| pip / import | freqtrade — a CLI first (freqtrade trade, backtesting, hyperopt); strategies subclass IStrategy |
| Version | 2026.8 (2026-08-31) · 98 releases · monthly YYYY.M scheme · repo pushed 2026-09-04 |
| Licence | GPL-3.0 (PyPI GPLv3 + GitHub spdx_id agree) |
| Python | requires_python >=3.11 · pure-python wheel + sdist — installs cleanly on Windows |
| Status | Very active. 54,007★ with only 23 open issues. Exchange layer is ccxt, so every ccxt venue quirk applies |
GPL-3.0 is the strongest copyleft in this catalog. A strategy file freqtrade loads at runtime is
one thing; shipping a product built on freqtrade is another — distribution obliges you to release
source under the same terms. Internal and personal use is unaffected. If the deliverable is
proprietary, use jesse (MIT) or build on ccxt directly.
Zero slippage. Always. Every order fills at the requested price provided that price sits inside the candle's high/low. Real fees are charged (pulled from ccxt); market impact is exactly zero. On thin alts this is the single largest source of phantom P&L.
Its twin: stoploss exits fill exactly at the stoploss price, even when the candle's low was lower. A gap straight through your stop costs you nothing in backtest and a great deal live.
freqtrade publishes its own backtest assumptions, which is why this list exists at all:
VolumePairList and friends build the universe from today's
listings, so backtesting 2021 on today's pairs misses every token that went to zero. Use a
StaticPairList rebuilt from archived fetch_markets() snapshots, or call the result an upper bound.stoploss_on_exchange is off by default. On, the stop lives at the exchange and survives
your process dying, your VPS rebooting or your network dropping. It is the most important single
line in retail crypto risk management, and you must opt in.Other documented behaviour: entries fill at the open unless custom pricing applies; ROI exits compare against the candle high but never price below the low; stoploss is evaluated before ROI; order is exit signal → stoploss → ROI → trailing stoploss. The project's own closing statement is that backtesting will never replace dry-run mode, because intrabar ordering is unknowable.
Every bar engine makes assumptions of this shape. freqtrade is simply the only one that lists them. Treat that list as the template for interrogating any other engine.
freqtrade lookahead-analysis runs a baseline backtest, then re-runs it over progressively
sliced windows and compares dataframe columns. Divergence means the indicator saw the future. It
catches shift(-N), raw .iloc[] indexing, unrolled full-series aggregations (.mean(), .max())
and badly controlled loops. Stated limits: it only checks triggered signals (untriggered leaks
escape as false negatives), false-positives on limit orders with custom pricing callbacks, may
falsely flag FreqAI target indicators, and is useless for rarely-signalling strategies.
freqtrade recursive-analysis varies startup_candle_count and reports each indicator's
last-row variance against the base calculation. - = converged, nan% = insufficient data, a large
percentage = raise your startup candles. It is the only off-the-shelf tool that measures the
recursive warm-up problem: EMA/RSI/ADX converge to different values depending on how much history
preceded them, and a backtest sees 5,000 candles where live sees the ~1,000 the exchange returns in
one call. Its stated mechanism — backtesting loads the whole dataframe into memory while live
processes candles sequentially — describes vectorbt, PyBroker and backtesting.py equally well.
{
"dry_run": true, // default in the shipped example config — keep it until deployed
"dry_run_wallet": 1000,
"stake_currency": "USDT",
"trading_mode": "spot",
"order_types": {
"stoploss_on_exchange": true, // OFF by default; turn it on
"stoploss_on_exchange_interval": 60
},
"pairlists": [ // NOT VolumePairList — that is survivorship bias
{ "method": "StaticPairList" }
],
"exchange": { "ccxt_config": { "enableRateLimit": true } }
}
freqtrade backtesting --strategy MyStrat --timerange 20210101-20240101
freqtrade lookahead-analysis --strategy MyStrat # run BEFORE believing any result
freqtrade recursive-analysis --strategy MyStrat
Live keys must carry trade scope only, never withdraw; dry_run: true is not proof you are safe.
../../../fin-crypto/skills/crypto-data-and-execution/SKILL.md — survivorship, funding, 365 days../../../fin-crypto/skills/crypto-data-and-execution/references/freqtrade.md — reference card../../../fin-crypto/skills/crypto-data-and-execution/references/ccxt.md — the exchange layer../../../fin-core/skills/backtesting-engines/references/execution-realism.md — fill realismThis file is the deep dive on one library and assumes the choice is already made.
For which library to pick, how it compares with the alternatives, and the traps that span
several of them, the entry point is the domain skill backtesting-engines (../../../fin-core/skills/backtesting-engines/SKILL.md).
What SKILL.md sets; muted values are Claude Code's defaults
/fin-libraries:lib-freqtradefrom fin-libraries
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin fin-libraries24 skills in this plugin
/lib-akshareakshare is the widest free Chinese-market scraper (1,103 public interfaces) and it purges its own PyPI history, so you cannot pin it. TRIGGER - akshare, "import akshare as ak", pip install akshare, stock_zh_a_hist, stock_zh_a_daily, index_stock_cons_csindex, stock_zt_pool_em, stock_zh_a_stop_em, adjust="qfq"/"hfq", 复权, 前复权, 后复权, 涨跌停, 东方财富, 新浪财经, A股数据, 沪深300成分股, "No matching distribution found for akshare==", akshare 报错, akshare 封 IP. akshare ships roughly 2.3 releases a week and deletes the old ones, so any signature, column name or version pin you remember is probably already gone. SKIP for lib-tushare, which is the skill for point-in-time fundamentals and dated index membership. SKIP when the question is WHICH library to choose, or names no library at all - both belong to the domain skill./lib-alpaca-pyAlpaca's current Python SDK, which defaults to the paper host but lets url_override silently send live orders from a client that believes it is in the sandbox. TRIGGER - import alpaca, pip install alpaca-py, TradingClient, StockHistoricalDataClient, CryptoHistoricalDataClient, submit_order, LimitOrderRequest, MarketOrderRequest, OrderSide, TimeInForce, client_order_id, url_override, paper=True, BaseURL.TRADING_PAPER, paper-api.alpaca.markets, bracket OCO OTO orders, trail_percent, IEX vs SIP feed, Algo Trader Plus, alpaca-trade-api, APCA_API_BASE_URL; an order rejected asynchronously for time-in-force or price precision. Memory is stale here: alpaca-trade-api was deprecated in 2024 and defaulted to LIVE, whereas alpaca-py 0.44.0 (2026-08-11) declares paper=True - the widely repeated warning is inverted. SKIP for Interactive Brokers and for the general order-safety patterns (broker-execution-apis). SKIP for choosing between libraries, or when no library is named - the domain skill's job.Other plugins' skills for the same job