[{"data":1,"prerenderedAt":234},["ShallowReactive",2],{"blog-en-freqtrade-proxy-not-working":3},{"id":4,"title":5,"body":6,"description":215,"extension":216,"meta":217,"navigation":229,"path":230,"seo":231,"stem":232,"__hash__":233},"en/en/blog/freqtrade-proxy-not-working.md","Fix: Freqtrade Proxy Not Working",{"type":7,"value":8,"toc":213},"minimark",[9,13,22,34,52,55,68,149,155,173,179,209],[10,11,5],"h1",{"id":12},"fix-freqtrade-proxy-not-working",[14,15,16,17,21],"p",{},"When using ",[18,19,20],"strong",{},"Freqtrade",", to bypass specific network restrictions, you often need to configure a proxy for exchange connections. However, you might find that even after adding the proxy parameters, the program still fails to communicate through the proxy network.",[14,23,24,25,29,30,33],{},"This situation usually happens for two reasons: First, the proxy configuration level or key name in your ",[26,27,28],"code",{},"config.json"," is incorrect. Second, certain Freqtrade versions installed via ",[26,31,32],{},"pip"," have compatibility issues or lose context when underlying dependencies (like CCXT) handle proxy passing.",[14,35,36,37,40,41,44,45,47,48,51],{},"✅ ",[18,38,39],{},"Solution:"," Ensure you use the standard ",[26,42,43],{},"ccxt_config"," proxy format. If the format is correct but the proxy is still ignored, uninstall the ",[26,46,32],{}," version and instead pull the source code via ",[26,49,50],{},"git"," to run it.",[14,53,54],{},"Here are the complete steps to fix it:",[14,56,57,60,61,63,64,67],{},[18,58,59],{},"1. Use the standard proxy configuration format","\nOpen your ",[26,62,28],{}," file and ensure the proxy parameters are strictly defined under the ",[26,65,66],{},"exchange.ccxt_config"," node:",[69,70,75],"pre",{"className":71,"code":72,"language":73,"meta":74,"style":74},"language-json shiki shiki-themes github-light github-dark","{\n  \"exchange\": {\n    \"ccxt_config\": {\n      \"httpsProxy\": \"http://addr:port\",\n      \"wsProxy\": \"http://addr:port\"\n    }\n  }\n}\n","json","",[26,76,77,86,96,104,120,131,137,143],{"__ignoreMap":74},[78,79,82],"span",{"class":80,"line":81},"line",1,[78,83,85],{"class":84},"sVt8B","{\n",[78,87,89,93],{"class":80,"line":88},2,[78,90,92],{"class":91},"sj4cs","  \"exchange\"",[78,94,95],{"class":84},": {\n",[78,97,99,102],{"class":80,"line":98},3,[78,100,101],{"class":91},"    \"ccxt_config\"",[78,103,95],{"class":84},[78,105,107,110,113,117],{"class":80,"line":106},4,[78,108,109],{"class":91},"      \"httpsProxy\"",[78,111,112],{"class":84},": ",[78,114,116],{"class":115},"sZZnC","\"http://addr:port\"",[78,118,119],{"class":84},",\n",[78,121,123,126,128],{"class":80,"line":122},5,[78,124,125],{"class":91},"      \"wsProxy\"",[78,127,112],{"class":84},[78,129,130],{"class":115},"\"http://addr:port\"\n",[78,132,134],{"class":80,"line":133},6,[78,135,136],{"class":84},"    }\n",[78,138,140],{"class":80,"line":139},7,[78,141,142],{"class":84},"  }\n",[78,144,146],{"class":80,"line":145},8,[78,147,148],{"class":84},"}\n",[14,150,151,154],{},[18,152,153],{},"2. Uninstall the ineffective pip version","\nIf the configuration is confirmed to be correct but the proxy still doesn't work, uninstall Freqtrade from your current environment in the terminal:",[69,156,160],{"className":157,"code":158,"language":159,"meta":74,"style":74},"language-bash shiki shiki-themes github-light github-dark","pip uninstall freqtrade\n","bash",[26,161,162],{"__ignoreMap":74},[78,163,164,167,170],{"class":80,"line":81},[78,165,32],{"class":166},"sScJk",[78,168,169],{"class":115}," uninstall",[78,171,172],{"class":115}," freqtrade\n",[14,174,175,178],{},[18,176,177],{},"3. Pull the source code using Git and reconfigure the environment","\nPull the latest code directly from the official repository and use the provided script to reinitialize the environment. This typically resolves proxy network anomalies caused by solidified pip package dependencies:",[69,180,182],{"className":157,"code":181,"language":159,"meta":74,"style":74},"git clone https://github.com/freqtrade/freqtrade.git\ncd freqtrade\n./setup.sh -i\n",[26,183,184,194,201],{"__ignoreMap":74},[78,185,186,188,191],{"class":80,"line":81},[78,187,50],{"class":166},[78,189,190],{"class":115}," clone",[78,192,193],{"class":115}," https://github.com/freqtrade/freqtrade.git\n",[78,195,196,199],{"class":80,"line":88},[78,197,198],{"class":91},"cd",[78,200,172],{"class":115},[78,202,203,206],{"class":80,"line":98},[78,204,205],{"class":166},"./setup.sh",[78,207,208],{"class":91}," -i\n",[210,211,212],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}",{"title":74,"searchDepth":88,"depth":88,"links":214},[],"Resolve the issue of Freqtrade proxy configuration not taking effect. Fix network connection barriers by correctly setting ccxt_config and switching from the pip version to the Git version.","md",{"date":218,"category":219,"tags":220,"order":81,"meta-description":227,"meta-keyword":228},"2026-04-06","Trading Bot",[20,221,222,223,224,225,226],"Proxy","CCXT","Python","Git","Bug Fix","Trading","Learn how to fix Freqtrade proxy not working. Master the correct ccxt_config format, and discover why uninstalling the pip version and using Git pull resolves proxy connection failures.","Freqtrade, proxy, ccxt_config, Freqtrade proxy not working, trading bot, proxy settings, Python",true,"/en/blog/freqtrade-proxy-not-working",{"title":5,"description":215},"en/blog/freqtrade-proxy-not-working","gJH9KvflRfVMtxK0PUSbr7fXl38xalJ70VOGSZnFUIw",1775444136404]