Elffuss BraidHub

kikocis/freqtrade public

develop · 10.2 KiBRenderedRawPermalink
1# ![freqtrade](docs/assets/freqtrade_poweredby.svg)
2
3[![Freqtrade CI](https://github.com/freqtrade/freqtrade/workflows/Freqtrade%20CI/badge.svg)](https://github.com/freqtrade/freqtrade/actions/)
4[![Coverage Status](https://coveralls.io/repos/github/freqtrade/freqtrade/badge.svg?branch=develop&service=github)](https://coveralls.io/github/freqtrade/freqtrade?branch=develop)
5[![Documentation](https://readthedocs.org/projects/freqtrade/badge/)](https://www.freqtrade.io)
6[![Maintainability](https://api.codeclimate.com/v1/badges/5737e6d668200b7518ff/maintainability)](https://codeclimate.com/github/freqtrade/freqtrade/maintainability)
7
8Freqtrade 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.
9
10![freqtrade](https://raw.githubusercontent.com/freqtrade/freqtrade/develop/docs/assets/freqtrade-screenshot.png)
11
12## Disclaimer
13
14This software is for educational purposes only. Do not risk money which
15you are afraid to lose. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS
16AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS.
17
18Always start by running a trading bot in Dry-run and do not engage money
19before you understand how it works and what profit/loss you should
20expect.
21
22We strongly recommend you to have coding and Python knowledge. Do not
23hesitate to read the source code and understand the mechanism of this bot.
24
25## Supported Exchange marketplaces
26
27Please read the [exchange specific notes](docs/exchanges.md) to learn about eventual, special configurations needed for each exchange.
28
29- [X] [Bittrex](https://bittrex.com/)
30- [X] [Binance](https://www.binance.com/) ([*Note for binance users](docs/exchanges.md#blacklists))
31- [X] [Kraken](https://kraken.com/)
32- [X] [FTX](https://ftx.com)
33- [ ] [potentially many others](https://github.com/ccxt/ccxt/). _(We cannot guarantee they will work)_
34
35### Community tested
36
37Exchanges confirmed working by the community:
38
39- [X] [Bitvavo](https://bitvavo.com/)
40
41## Documentation
42
43We invite you to read the bot documentation to ensure you understand how the bot is working.
44
45Please find the complete documentation on our [website](https://www.freqtrade.io).
46
47## Features
48
49- [x] **Based on Python 3.7+**: For botting on any operating system - Windows, macOS and Linux.
50- [x] **Persistence**: Persistence is achieved through sqlite.
51- [x] **Dry-run**: Run the bot without paying money.
52- [x] **Backtesting**: Run a simulation of your buy/sell strategy.
53- [x] **Strategy Optimization by machine learning**: Use machine learning to optimize your buy/sell strategy parameters with real exchange data.
54- [x] **Edge position sizing** Calculate your win rate, risk reward ratio, the best stoploss and adjust your position size before taking a position for each specific market. [Learn more](https://www.freqtrade.io/en/latest/edge/).
55- [x] **Whitelist crypto-currencies**: Select which crypto-currency you want to trade or use dynamic whitelists.
56- [x] **Blacklist crypto-currencies**: Select which crypto-currency you want to avoid.
57- [x] **Manageable via Telegram**: Manage the bot with Telegram.
58- [x] **Display profit/loss in fiat**: Display your profit/loss in 33 fiat.
59- [x] **Daily summary of profit/loss**: Provide a daily summary of your profit/loss.
60- [x] **Performance status report**: Provide a performance status of your current trades.
61
62## Quick start
63
64Freqtrade provides a Linux/macOS script to install all dependencies and help you to configure the bot.
65
66```bash
67git clone -b develop https://github.com/freqtrade/freqtrade.git
68cd freqtrade
69./setup.sh --install
70```
71
72For any other type of installation please refer to [Installation doc](https://www.freqtrade.io/en/latest/installation/).
73
74## Basic Usage
75
76### Bot commands
77
78```
79usage: freqtrade [-h] [-V]
80 {trade,create-userdir,new-config,new-hyperopt,new-strategy,download-data,convert-data,convert-trade-data,backtesting,edge,hyperopt,hyperopt-list,hyperopt-show,list-exchanges,list-hyperopts,list-markets,list-pairs,list-strategies,list-timeframes,show-trades,test-pairlist,plot-dataframe,plot-profit}
81 ...
82
83Free, open source crypto trading bot
84
85positional arguments:
86 {trade,create-userdir,new-config,new-hyperopt,new-strategy,download-data,convert-data,convert-trade-data,backtesting,edge,hyperopt,hyperopt-list,hyperopt-show,list-exchanges,list-hyperopts,list-markets,list-pairs,list-strategies,list-timeframes,show-trades,test-pairlist,plot-dataframe,plot-profit}
87 trade Trade module.
88 create-userdir Create user-data directory.
89 new-config Create new config
90 new-hyperopt Create new hyperopt
91 new-strategy Create new strategy
92 download-data Download backtesting data.
93 convert-data Convert candle (OHLCV) data from one format to
94 another.
95 convert-trade-data Convert trade data from one format to another.
96 backtesting Backtesting module.
97 edge Edge module.
98 hyperopt Hyperopt module.
99 hyperopt-list List Hyperopt results
100 hyperopt-show Show details of Hyperopt results
101 list-exchanges Print available exchanges.
102 list-hyperopts Print available hyperopt classes.
103 list-markets Print markets on exchange.
104 list-pairs Print pairs on exchange.
105 list-strategies Print available strategies.
106 list-timeframes Print available timeframes for the exchange.
107 show-trades Show trades.
108 test-pairlist Test your pairlist configuration.
109 plot-dataframe Plot candles with indicators.
110 plot-profit Generate plot showing profits.
111
112optional arguments:
113 -h, --help show this help message and exit
114 -V, --version show program's version number and exit
115
116```
117
118### Telegram RPC commands
119
120Telegram is not mandatory. However, this is a great way to control your bot. More details and the full command list on our [documentation](https://www.freqtrade.io/en/latest/telegram-usage/)
121
122- `/start`: Starts the trader.
123- `/stop`: Stops the trader.
124- `/stopbuy`: Stop entering new trades.
125- `/status <trade_id>|[table]`: Lists all or specific open trades.
126- `/profit`: Lists cumulative profit from all finished trades
127- `/forcesell <trade_id>|all`: Instantly sells the given trade (Ignoring `minimum_roi`).
128- `/performance`: Show performance of each finished trade grouped by pair
129- `/balance`: Show account balance per currency.
130- `/daily <n>`: Shows profit or loss per day, over the last n days.
131- `/help`: Show help message.
132- `/version`: Show version.
133
134## Development branches
135
136The project is currently setup in two main branches:
137
138- `develop` - This branch has often new features, but might also contain breaking changes. We try hard to keep this branch as stable as possible.
139- `stable` - This branch contains the latest stable release. This branch is generally well tested.
140- `feat/*` - These are feature branches, which are being worked on heavily. Please don't use these unless you want to test a specific feature.
141
142## Support
143
144### Help / Discord / Slack
145
146For 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 our slack channel.
147
148Please check out our [discord server](https://discord.gg/MA9v74M).
149
150You can also join our [Slack channel](https://join.slack.com/t/highfrequencybot/shared_invite/zt-mm786y93-Fxo37glxMY9g8OQC5AoOIw).
151
152### [Bugs / Issues](https://github.com/freqtrade/freqtrade/issues?q=is%3Aissue)
153
154If you discover a bug in the bot, please
155[search our issue tracker](https://github.com/freqtrade/freqtrade/issues?q=is%3Aissue)
156first. If it hasn't been reported, please
157[create a new issue](https://github.com/freqtrade/freqtrade/issues/new) and
158ensure you follow the template guide so that our team can assist you as
159quickly as possible.
160
161### [Feature Requests](https://github.com/freqtrade/freqtrade/labels/enhancement)
162
163Have you a great idea to improve the bot you want to share? Please,
164first search if this feature was not [already discussed](https://github.com/freqtrade/freqtrade/labels/enhancement).
165If it hasn't been requested, please
166[create a new request](https://github.com/freqtrade/freqtrade/issues/new)
167and ensure you follow the template guide so that it does not get lost
168in the bug reports.
169
170### [Pull Requests](https://github.com/freqtrade/freqtrade/pulls)
171
172Feel like our bot is missing a feature? We welcome your pull requests!
173
174Please read our
175[Contributing document](https://github.com/freqtrade/freqtrade/blob/develop/CONTRIBUTING.md)
176to understand the requirements before sending your pull-requests.
177
178Coding is not a necessity to contribute - maybe start with improving our documentation?
179Issues 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.
180
181**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/MA9v74M) or [Slack](https://join.slack.com/t/highfrequencybot/shared_invite/zt-mm786y93-Fxo37glxMY9g8OQC5AoOIw). This will ensure that interested parties can give valuable feedback on the feature, and let others know that you are working on it.
182
183**Important:** Always create your PR against the `develop` branch, not `stable`.
184
185## Requirements
186
187### Up-to-date clock
188
189The clock must be accurate, synchronized to a NTP server very frequently to avoid problems with communication to the exchanges.
190
191### Min hardware required
192
193To run this bot we recommend you a cloud instance with a minimum of:
194
195- Minimal (advised) system requirements: 2GB RAM, 1GB disk space, 2vCPU
196
197### Software requirements
198
199- [Python 3.7.x](http://docs.python-guide.org/en/latest/starting/installation/)
200- [pip](https://pip.pypa.io/en/stable/installing/)
201- [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
202- [TA-Lib](https://mrjbq7.github.io/ta-lib/install.html)
203- [virtualenv](https://virtualenv.pypa.io/en/stable/installation.html) (Recommended)
204- [Docker](https://www.docker.com/products/docker) (Recommended)