Home
Softono
f

freqtrade

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
3

Software by freqtrade

frequi
Open Source

frequi

# FreqUI [![Open in Visual Studio Code](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc)](https://vscode.dev/github/freqtrade/frequi) [![FreqUI CI](https://github.com/freqtrade/frequi/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/freqtrade/frequi/actions/) Freqtrade UI build with [Vue.js](https://vuejs.org/) and [primevue](https://primevue.org/). ## Run this project Using FreqUI, does require [freqtrade](https://github.com/freqtrade/freqtrade) to be setup and running. In newer versions (2021.2 and newer), freqUI is builtin to freqtrade, so manual setup of freqUI will no longer be necessary unless you want to modify freqUI. Instructions for this end-user setup can be found in the [freqtrade API documentation](https://www.freqtrade.io/en/stable/rest-api/). ### Running a standalone version of FreqUI Using Docker, you can also run a pre-built docker image of FreqUI. ```bash docker compose up -d ``` This will start a pre-built container with FreqUI running on port 3000 - which defaults to the latest version of freqUI. You can use `docker compose pull` to update to the latest version of the UI. Please note: This is a standalone version of FreqUI, and will still require a correctly configured freqtrade bot. You'll need to correctly configure [CORS](https://www.freqtrade.io/en/stable/rest-api/#cors) in freqtrade to allow FreqUI to connect to the API. ## Developer project setup It will require [freqtrade](https://github.com/freqtrade/freqtrade) to be running on the same host with the API enabled under (`localhost:8080`). You can either use the webpack proxy (port can be changed in `vue.config.js`) - or connect directly to the API (recommended). You will also have to have CORS for freqtrade configured correctly based on the [freqtrade documentation](https://www.freqtrade.io/en/stable/rest-api/#cors). Most likely, the correct entry will be `http://localhost:3000` or `http://127.0.0.1:3000` - but the URL must match the URL you use to access FreqUI. Ports can vary, so check the URL you're using. ### Project setup ``` pnpm install ``` ### Compiles and hot-reloads for development ``` pnpm run dev ``` ### Compiles and minifies for production ``` pnpm run build ``` ### Lints and fixes files ``` pnpm run lint ``` ### Build and run docker version ``` docker-compose build docker-compose up -d # Access using http://localhost:3000/ ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ## Project setup for docker (developing inside dev container) without vscode ### Built dev docker image and run container(s) detached ``` cd .devcontainer docker-compose up -d ``` ### Go inside web-service container and serve ``` docker-compose exec web /bin/bash ``` then ``` pnpm run dev ``` ## Project setup for vscode and docker (developing inside dev container) on Linux The goal is to have a complete dev environment very quickly and isolated. ### Install missing tools if needed Follow [getting started](https://code.visualstudio.com/docs/remote/containers#_getting-started) section. ### Build your dev container View > Command palette > Enter: Remote-Containers rebuild container ### Serve your local server ``` pnpm run dev ``` You now have useful vscode extensions, git support, your command history of the project.

Frontend Templates Crypto & Blockchain
1K Github Stars
freqtrade
Open Source

freqtrade

# ![freqtrade](https://raw.githubusercontent.com/freqtrade/freqtrade/develop/docs/assets/freqtrade_poweredby.svg) [![Freqtrade CI](https://github.com/freqtrade/freqtrade/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/freqtrade/freqtrade/actions/workflows/ci.yml) [![DOI](https://joss.theoj.org/papers/10.21105/joss.04864/status.svg)](https://doi.org/10.21105/joss.04864) [![codecov](https://codecov.io/gh/freqtrade/freqtrade/branch/develop/graph/badge.svg?token=AD5BG3ATKI)](https://codecov.io/gh/freqtrade/freqtrade) [![Documentation](https://readthedocs.org/projects/freqtrade/badge/)](https://www.freqtrade.io) [![Discord Server](https://img.shields.io/badge/Freqtrade_Discord-4E4E4E?logo=discord)](https://discord.gg/p7nuUNVfP7) 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. ![freqtrade](https://raw.githubusercontent.com/freqtrade/freqtrade/develop/docs/assets/freqtrade-screenshot.png) ## Disclaimer This software is for educational purposes only. Do not risk money which you are afraid to lose. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS. Always start by running a trading bot in Dry-Run and do not engage money before you understand how it works and what profit/loss you should expect. We strongly recommend you to have coding and Python knowledge. Do not hesitate to read the source code and understand the mechanism of this bot. ## Supported Exchange marketplaces Please read the [exchange-specific notes](https://www.freqtrade.io/en/stable/exchanges/) to learn about special configurations that maybe needed for each exchange. ### Supported Spot Exchanges - [X] [Binance](https://www.binance.com/) - [X] [BingX](https://bingx.com/invite/0EM9RX) - [X] [Bitget](https://www.bitget.com/) - [X] [Bitmart](https://bitmart.com/) - [X] [Bybit](https://bybit.com/) - [X] [Gate.io](https://www.gate.io/ref/6266643) - [X] [HTX](https://www.htx.com/) - [X] [Hyperliquid](https://hyperliquid.xyz/) (A decentralized exchange, or DEX) - [X] [Kraken](https://kraken.com/) - [X] [OKX](https://okx.com/) - [X] [MyOKX](https://okx.com/) (OKX EEA) - [ ] [potentially many others](https://github.com/ccxt/ccxt/). _(We cannot guarantee they will work)_ ### Supported Futures Exchanges - [X] [Binance](https://www.binance.com/) - [X] [Bitget](https://www.bitget.com/) - [X] [Gate.io](https://www.gate.io/ref/6266643) - [X] [Hyperliquid](https://hyperliquid.xyz/) (A decentralized exchange, or DEX) - [X] [OKX](https://okx.com/) - [X] [Bybit](https://bybit.com/) - [X] [Kraken](https://www.kraken.com/features/futures) Please make sure to read the [exchange specific notes](https://www.freqtrade.io/en/stable/exchanges/), as well as the [trading with leverage](https://www.freqtrade.io/en/stable/leverage/) documentation before diving in. ### Community tested Exchanges confirmed working by the community: - [X] [Bitvavo](https://bitvavo.com/) - [X] [Kucoin](https://www.kucoin.com/) ## Documentation We invite you to read the bot documentation to ensure you understand how the bot is working. Please find the complete documentation on the [freqtrade website](https://www.freqtrade.io). ## Features - [x] **Based on Python 3.11+**: For botting on any operating system - Windows, macOS and Linux. - [x] **Persistence**: Persistence is achieved through sqlite. - [x] **Dry-run**: Run the bot without paying money. - [x] **Backtesting**: Run a simulation of your buy/sell strategy. - [x] **Strategy Optimization by machine learning**: Use machine learning to optimize your buy/sell strategy parameters with real exchange data. - [X] **Adaptive prediction modeling**: Build a smart strategy with FreqAI that self-trains to the market via adaptive machine learning methods. [Learn more](https://www.freqtrade.io/en/stable/freqai/) - [x] **Whitelist crypto-currencies**: Select which crypto-currency you want to trade or use dynamic whitelists. - [x] **Blacklist crypto-currencies**: Select which crypto-currency you want to avoid. - [x] **Builtin WebUI**: Builtin web UI to manage your bot. - [x] **Manageable via Telegram**: Manage the bot with Telegram. - [x] **Display profit/loss in fiat**: Display your profit/loss in fiat currency. - [x] **Performance status report**: Provide a performance status of your current trades. ## Quick start Please refer to the [Docker Quickstart documentation](https://www.freqtrade.io/en/stable/docker_quickstart/) on how to get started quickly. For further (native) installation methods, please refer to the [Installation documentation page](https://www.freqtrade.io/en/stable/installation/). ## Basic Usage ### Bot commands ``` usage: freqtrade [-h] [-V] {trade,create-userdir,new-config,show-config,new-strategy,download-data,convert-data,convert-trade-data,trades-to-ohlcv,list-data,backtesting,backtesting-show,backtesting-analysis,edge,hyperopt,hyperopt-list,hyperopt-show,list-exchanges,list-markets,list-pairs,list-strategies,list-hyperoptloss,list-freqaimodels,list-timeframes,show-trades,test-pairlist,convert-db,install-ui,plot-dataframe,plot-profit,webserver,strategy-updater,lookahead-analysis,recursive-analysis} ... Free, open source crypto trading bot positional arguments: {trade,create-userdir,new-config,show-config,new-strategy,download-data,convert-data,convert-trade-data,trades-to-ohlcv,list-data,backtesting,backtesting-show,backtesting-analysis,edge,hyperopt,hyperopt-list,hyperopt-show,list-exchanges,list-markets,list-pairs,list-strategies,list-hyperoptloss,list-freqaimodels,list-timeframes,show-trades,test-pairlist,convert-db,install-ui,plot-dataframe,plot-profit,webserver,strategy-updater,lookahead-analysis,recursive-analysis} trade Trade module. create-userdir Create user-data directory. new-config Create new config show-config Show resolved config new-strategy Create new strategy download-data Download backtesting data. convert-data Convert candle (OHLCV) data from one format to another. convert-trade-data Convert trade data from one format to another. trades-to-ohlcv Convert trade data to OHLCV data. list-data List downloaded data. backtesting Backtesting module. backtesting-show Show past Backtest results backtesting-analysis Backtest Analysis module. hyperopt Hyperopt module. hyperopt-list List Hyperopt results hyperopt-show Show details of Hyperopt results list-exchanges Print available exchanges. list-markets Print markets on exchange. list-pairs Print pairs on exchange. list-strategies Print available strategies. list-hyperoptloss Print available hyperopt loss functions. list-freqaimodels Print available freqAI models. list-timeframes Print available timeframes for the exchange. show-trades Show trades. test-pairlist Test your pairlist configuration. convert-db Migrate database to different system install-ui Install FreqUI plot-dataframe Plot candles with indicators. plot-profit Generate plot showing profits. webserver Webserver module. strategy-updater updates outdated strategy files to the current version lookahead-analysis Check for potential look ahead bias. recursive-analysis Check for potential recursive formula issue. options: -h, --help show this help message and exit -V, --version show program's version number and exit ``` ### Telegram RPC commands Telegram is not mandatory. However, this is a great way to control your bot. More details and the full command list on the [documentation](https://www.freqtrade.io/en/stable/telegram-usage/) - `/start`: Starts the trader. - `/stop`: Stops the trader. - `/stopentry`: Stop entering new trades. - `/status <trade_id>|[table]`: Lists all or specific open trades. - `/profit [<n>]`: Lists cumulative profit from all finished trades, over the last n days. - `/profit_long [<n>]`: Lists cumulative profit from all finished long trades, over the last n days. - `/profit_short [<n>]`: Lists cumulative profit from all finished short trades, over the last n days. - `/forceexit <trade_id>|all`: Instantly exits the given trade (Ignoring `minimum_roi`). - `/fx <trade_id>|all`: Alias to `/forceexit` - `/performance`: Show performance of each finished trade grouped by pair - `/balance`: Show account balance per currency. - `/daily <n>`: Shows profit or loss per day, over the last n days. - `/help`: Show help message. - `/version`: Show version. ## Development branches The project is currently setup in two main branches: - `develop` - This branch has often new features, but might also contain breaking changes. We try hard to keep this branch as stable as possible. - `stable` - This branch contains the latest stable release. This branch is generally well tested. - `feat/*` - These are feature branches, which are being worked on heavily. Please don't use these unless you want to test a specific feature. ## Support ### Help / Discord For any questions not covered by the documentation or for further information about the bot, or to simply engage with like-minded individuals, we encourage you to join the Freqtrade [discord server](https://discord.gg/p7nuUNVfP7). ### [Bugs / Issues](https://github.com/freqtrade/freqtrade/issues?q=is%3Aissue) If you discover a bug in the bot, please [search the issue tracker](https://github.com/freqtrade/freqtrade/issues?q=is%3Aissue) first. If it hasn't been reported, please [create a new issue](https://github.com/freqtrade/freqtrade/issues/new/choose) and ensure you follow the template guide so that the team can assist you as quickly as possible. For every [issue](https://github.com/freqtrade/freqtrade/issues/new/choose) created, kindly follow up and mark satisfaction or reminder to close issue when equilibrium ground is reached. --Maintain github's [community policy](https://docs.github.com/en/site-policy/github-terms/github-community-code-of-conduct)-- ### [Feature Requests](https://github.com/freqtrade/freqtrade/labels/enhancement) Have you a great idea to improve the bot you want to share? Please, first search if this feature was not [already discussed](https://github.com/freqtrade/freqtrade/labels/enhancement). If it hasn't been requested, please [create a new request](https://github.com/freqtrade/freqtrade/issues/new/choose) and ensure you follow the template guide so that it does not get lost in the bug reports. ### [Pull Requests](https://github.com/freqtrade/freqtrade/pulls) Feel like the bot is missing a feature? We welcome your pull requests! Please read the [Contributing document](https://github.com/freqtrade/freqtrade/blob/develop/CONTRIBUTING.md) to understand the requirements before sending your pull-requests. Coding is not a necessity to contribute - maybe start with improving the documentation? Issues labeled [good first issue](https://github.com/freqtrade/freqtrade/labels/good%20first%20issue) can be good first contributions, and will help get you familiar with the codebase. **Note** before starting any major new feature work, *please open an issue describing what you are planning to do* or talk to us on [discord](https://discord.gg/p7nuUNVfP7) (please use the #dev channel for this). This will ensure that interested parties can give valuable feedback on the feature, and let others know that you are working on it. **Important:** Always create your PR against the `develop` branch, not `stable`. ## Requirements ### Up-to-date clock The clock must be accurate, synchronized to a NTP server very frequently to avoid problems with communication to the exchanges. ### Minimum hardware required To run this bot we recommend you a cloud instance with a minimum of: - Minimal (advised) system requirements: 2GB RAM, 1GB disk space, 2vCPU ### Software requirements - [Python >= 3.11](http://docs.python-guide.org/en/latest/starting/installation/) - [pip](https://pip.pypa.io/en/stable/installing/) - [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) - [TA-Lib](https://ta-lib.github.io/ta-lib-python/) - [virtualenv](https://virtualenv.pypa.io/en/stable/installation.html) (Recommended) - [Docker](https://www.docker.com/products/docker) (Recommended)

Project Management Crypto & Blockchain
51.3K Github Stars
freqtrade-strategies
Open Source

freqtrade-strategies

# Freqtrade strategies This Git repo contains free buy/sell strategies for [Freqtrade](https://github.com/freqtrade/freqtrade). All strategies should work with a freqtrade version of 2022.4 or newer. ## Disclaimer These strategies are for educational purposes only. Do not risk money which you are afraid to lose. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS. Always start by testing strategies with a backtesting then run the trading bot in Dry-run. Do not engage money before you understand how it works and what profit/loss you should expect. We strongly recommend you to have coding and Python knowledge. Do not hesitate to read the source code and understand the mechanism of this bot. ## Table of Content - [Free trading strategies](#free-trading-strategies) - [Contribute](#share-your-own-strategies-and-contribute-to-this-repo) - [FAQ](#faq) - [What is Freqtrade?](#what-is-freqtrade) - [What includes these strategies?](#what-includes-these-strategies) - [How to install a strategy?](#how-to-install-a-strategy) - [How to test a strategy?](#how-to-test-a-strategy) - [How to create/optimize a strategy?](https://www.freqtrade.io/en/latest/strategy-customization/) ## Free trading strategies Value below are result from backtesting from 2018-01-10 to 2018-01-30 and `exit_profit_only` enabled. More detail on each strategy page. | Strategy | Buy count | AVG profit % | Total profit | AVG duration | Backtest period | |-----------|-----------|--------------|--------------|--------------|-----------------| | [Strategy 001](https://github.com/freqtrade/freqtrade-strategies/blob/main/user_data/strategies/Strategy001.py) | 55 | 0.05 | 0.00012102 | 476.1 | 2018-01-10 to 2018-01-30 | | [Strategy 002](https://github.com/freqtrade/freqtrade-strategies/blob/main/user_data/strategies/Strategy002.py) | 9 | 3.21 | 0.00114807 | 189.4 | 2018-01-10 to 2018-01-30 | | [Strategy 003](https://github.com/freqtrade/freqtrade-strategies/blob/main/user_data/strategies/Strategy003.py) | 14 | 1.47 | 0.00081740 | 227.5 | 2018-01-10 to 2018-01-30 | | [Strategy 004](https://github.com/freqtrade/freqtrade-strategies/blob/main/user_data/strategies/Strategy004.py) | 37 | 0.69 | 0.00102128 | 367.3 | 2018-01-10 to 2018-01-30 | | [Strategy 005](https://github.com/freqtrade/freqtrade-strategies/blob/main/user_data/strategies/Strategy005.py) | 180 | 1.16 | 0.00827589 | 156.2 | 2018-01-10 to 2018-01-30 | Strategies from this repo are free to use. Feel free to update them to your likings. Most of them were designed from Hyperopt calculations. Some only work in specific market conditions, while others are more "general purpose" strategies. It's noteworthy that depending on the exchange and Pairs used, further optimization can bring better results. Please keep in mind, results will heavily depend on the pairs, timeframe and timerange used to backtest - so please run your own backtests that mirror your usecase, to evaluate each strategy for yourself. The results above should serve as a general outline to demonstrate the number of trades to expect. Actual performance will be different based on various factors. ## Share your own strategies and contribute to this repo Feel free to send your strategies, comments, optimizations and pull requests via an [Issue ticket](https://github.com/freqtrade/freqtrade-strategies/issues/new) or as a [Pull request](https://github.com/freqtrade/freqtrade-strategies/pulls) enhancing this repository. ## FAQ ### What is Freqtrade? [Freqtrade](https://github.com/freqtrade/freqtrade) 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. It contains backtesting, plotting and money management tools as well as strategy optimization by machine learning. ### What includes these strategies? Each Strategies includes: - [x] **Minimal ROI**: Minimal ROI optimized for the strategy. - [x] **Stoploss**: Optimal stoploss. - [x] **Buy signals**: Result from Hyperopt or based on exisiting trading strategies. - [x] **Sell signals**: Result from Hyperopt or based on exisiting trading strategies. - [x] **Indicators**: Includes the indicators required to run the strategy. Best backtest multiple strategies with the exchange and pairs you're interrested in, and finetune the strategy to the markets you're trading. ### How to install a strategy? First you need a [working Freqtrade](https://freqtrade.io). Once you have the bot on the right version, follow this steps: 1. Select the strategy you want. All strategies of the repo are into [user_data/strategies](https://github.com/freqtrade/freqtrade-strategies/tree/main/user_data/strategies) 2. Copy the strategy file 3. Paste it into your `user_data/strategies` folder 4. Run the bot with the parameter `--strategy <STRATEGY CLASS NAME>` (ex: `freqtrade trade --strategy Strategy001`) More information [about backtesting](https://www.freqtrade.io/en/latest/backtesting/) and [strategy customization](https://www.freqtrade.io/en/latest/strategy-customization/). ### How to test a strategy? Let assume you have selected the strategy `strategy001.py`: #### Simple backtesting ```bash freqtrade backtesting --strategy Strategy001 ``` #### Refresh your test data ```bash freqtrade download-data --days 100 ``` *Note:* Generally, it's recommended to use static backtest data (from a defined period of time) for comparable results. Please check out the [official backtesting documentation](https://www.freqtrade.io/en/latest/backtesting/) for more information.

ML Frameworks Crypto & Blockchain
5.2K Github Stars