This article was produced by the Quantitative Trading Lab at https://www.itrade.icu. Visit for more benefits. Before using Freqtrade for strategy backtesting, data downloading, or live trading, the most crucial step is to create and configure the config.json file. It serves as the βmain command centerβ of the entire trading framework, determining which exchange to connect, how to trade, how strategies run, and how funds are allocated.
This guide explains the purpose, creation, structure, and editing tips for config.json, helping you get started quickly and avoid common pitfalls.
π§± What is config.json?
config.json is the main configuration file for Freqtrade, centralizing all runtime parameters:
Exchange account info (API Key / Secret / Password)
Trading coins and amount settings
Strategy rules (e.g., maximum open trades, long/short settings)