freqtrade | Free , open source crypto trading bot | Cryptocurrency library

 by   freqtrade Python Version: 2024.4 License: GPL-3.0

kandi X-RAY | freqtrade Summary

kandi X-RAY | freqtrade Summary

freqtrade is a Python library typically used in Financial Services, Fintech, Blockchain, Cryptocurrency, Bitcoin applications. freqtrade has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has medium support. However freqtrade has 6 bugs. You can install using 'pip install freqtrade' or download it from GitHub, PyPI.

Freqtrade is a free and open source crypto trading bot written in Python. It is designed to support all major exchanges and be controlled via Telegram or webUI. It contains backtesting, plotting and money management tools as well as strategy optimization by machine learning.

            kandi-support Support

              freqtrade has a medium active ecosystem.
              It has 22129 star(s) with 4782 fork(s). There are 598 watchers for this library.
              There were 6 major release(s) in the last 6 months.
              There are 37 open issues and 3852 have been closed. On average issues are closed in 2 days. There are 10 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of freqtrade is 2024.4

            kandi-Quality Quality

              freqtrade has 6 bugs (0 blocker, 0 critical, 6 major, 0 minor) and 317 code smells.

            kandi-Security Security

              freqtrade has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              freqtrade code analysis shows 0 unresolved vulnerabilities.
              There are 53 security hotspots that need review.

            kandi-License License

              freqtrade is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              freqtrade releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              freqtrade saves you 17712 person hours of effort in developing the same functionality from scratch.
              It has 35098 lines of code, 1918 functions and 184 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed freqtrade and discovered the below as its top functions. This is intended to give you an instant insight into freqtrade implemented functionality, and help decide if they suit your requirements.
            • Build subcommands .
            • Add options to config .
            • Ask user for configuration .
            • Generate strategy metrics .
            • Execute an entry .
            • Migrate trades and orders and orders .
            • Add metrics to text table .
            • Calculates statistics for the trade .
            • Calculate the fee based on pair of pairs .
            • Format results table .
            Get all kandi verified functions for this library.

            freqtrade Key Features

            No Key Features are available at this moment for freqtrade.

            freqtrade Examples and Code Snippets

            Utility Subcommands-List Exchanges
            Pythondot img1Lines of Code : 198dot img1License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            usage: freqtrade list-exchanges [-h] [-1] [-a]
            optional arguments:
              -h, --help        show this help message and exit
              -1, --one-column  Print output in one column.
              -a, --all         Print all exchanges known to the ccxt library.
            $ freqtrade li  
            REST API & FreqUI-Rest API-Available endpoints
            Pythondot img2Lines of Code : 145dot img2License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            python3 scripts/ help
            Possible commands:
            	Return available pair (backtest data) based on timeframe / stake_currency selection
                    :param timeframe: Only pairs with this timeframe available.
                    :param stake_cu  
            Hyperopt-Hyperopt command reference
            Pythondot img3Lines of Code : 122dot img3License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            usage: freqtrade hyperopt [-h] [-v] [--logfile FILE] [-V] [-c PATH] [-d PATH]
                                      [--userdir PATH] [-s NAME] [--strategy-path PATH]
                                      [--recursive-strategy-search] [--freqaimodel NAME]
            How to make a Dockerfile and run it for multiple Python files?
            Pythondot img4Lines of Code : 22dot img4License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            FROM python:3.8
            RUN pip install numpy 
            RUN pip install python-binance
            RUN pip install pandas
            RUN pip install backtrader
            RUN pip install matplotlib
            RUN pip install websocket_client
            # TA-Lib
            RUN wget
            Locate files written by a python script in a container that is not running anymore
            Pythondot img5Lines of Code : 6dot img5License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            docker ps -a
            docker cp CONTAINER_ID:absolute/path/to/file ./host/target/path
            docker run -v "$(pwd)"/relative/host_dir:/absolute/container_dir my_image
            copy iconCopy
            dataframe.loc[:, 'st_12'] = st12['ST']
            how to do string formatting in python for this specific example
            Pythondot img7Lines of Code : 13dot img7License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            pair = ['BTC/USD', 'ETH/BTC', 'ABC/DEF']
            time_from = 20200101
            time_to = 20200120
            message = "'" + "' '".join(pair) + "'"
            cmd = "freqtrade download-data -d /home/datarepo -p %pair% -t 1h --timerange '%time_to%-%time_from%' --exchange bittr
            KeyError Python3.8.2
            Pythondot img8Lines of Code : 2dot img8License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            dataframe["bb_middleband1"] = bollinger1["mid"]

            Community Discussions


            How to make a Dockerfile and run it for multiple Python files?
            Asked 2022-Jan-23 at 18:40

            So, I'm new to Docker. I want to use Ta-Lib and freqtrade libraries for a bot I want to build. The problem is that I don't want to build the Dockerfile over and over again. I have been copying my python code in the Dockerfile as shown below but as soon as I change the python code, I have to rebuild the Dockerfile because I changed the copied python script. Each build takes over 10 minutes to complete and this makes my life very difficult to test the bot. Is there a way that I build the Dockerfile with all the dependencies and requirements first and then simply run my script using the image made? So that I don't have to rebuild the entire thing just after adding one line of code? The Dockerfile is as shown below



            Answered 2022-Jan-23 at 18:20

            First, you should copy your python file as late as possible.



            Locate files written by a python script in a container that is not running anymore
            Asked 2022-Jan-04 at 21:21

            I have a python script that is dumping a pandas dataframe into a file using :



            Answered 2021-Dec-31 at 12:00

            If the container has been stopped and has not been removed you should still find it using docker ps with -a:



            ValueError: Length of values (1) does not match length of index index (12797) - Indexes are the same length
            Asked 2021-May-14 at 14:54

            So this is driving me crazy now, cause I really don't see the problem.

            I have the following code:



            Answered 2021-May-14 at 14:54


            how to do string formatting in python for this specific example
            Asked 2021-Jan-21 at 14:46
            pair = ['BTC/USD', 'ETH/BTC', 'ETH/USD']
            time_from = 20200101
            time_to = 20200120


            Answered 2021-Jan-21 at 14:46

            You could use something like this:


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install freqtrade

            Please refer to the Docker Quickstart documentation on how to get started quickly. For further (native) installation methods, please refer to the Installation documentation page.


            Please read the exchange specific notes to learn about eventual, special configurations needed for each exchange.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • PyPI

            pip install freqtrade

          • CLONE
          • HTTPS


          • CLI

            gh repo clone freqtrade/freqtrade

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link