Merge branch 'master' of https://github.com/gcarq/freqtrade into develop
This commit is contained in:
commit
c3653dc417
40
README.md
40
README.md
@ -16,7 +16,7 @@ and enter the telegram `token` and your `chat_id` in `config.json`
|
|||||||
|
|
||||||
Persistence is achieved through sqlite.
|
Persistence is achieved through sqlite.
|
||||||
|
|
||||||
#### Telegram RPC commands:
|
### Telegram RPC commands:
|
||||||
* /start: Starts the trader
|
* /start: Starts the trader
|
||||||
* /stop: Stops the trader
|
* /stop: Stops the trader
|
||||||
* /status: Lists all open trades
|
* /status: Lists all open trades
|
||||||
@ -24,7 +24,7 @@ Persistence is achieved through sqlite.
|
|||||||
* /forcesell <trade_id>: Instantly sells the given trade (Ignoring `minimum_roi`).
|
* /forcesell <trade_id>: Instantly sells the given trade (Ignoring `minimum_roi`).
|
||||||
* /performance: Show performance of each finished trade grouped by pair
|
* /performance: Show performance of each finished trade grouped by pair
|
||||||
|
|
||||||
#### Config
|
### Config
|
||||||
`minimal_roi` is a JSON object where the key is a duration
|
`minimal_roi` is a JSON object where the key is a duration
|
||||||
in minutes and the value is the minimum ROI in percent.
|
in minutes and the value is the minimum ROI in percent.
|
||||||
See the example below:
|
See the example below:
|
||||||
@ -53,12 +53,18 @@ end up paying more then would probably have been necessary.
|
|||||||
The other values should be self-explanatory,
|
The other values should be self-explanatory,
|
||||||
if not feel free to raise a github issue.
|
if not feel free to raise a github issue.
|
||||||
|
|
||||||
#### Prerequisites
|
### Prerequisites
|
||||||
* python3.6
|
* python3.6
|
||||||
* sqlite
|
* sqlite
|
||||||
* [TA-lib](https://github.com/mrjbq7/ta-lib#dependencies) binaries
|
* [TA-lib](https://github.com/mrjbq7/ta-lib#dependencies) binaries
|
||||||
|
|
||||||
#### Install
|
### Install
|
||||||
|
|
||||||
|
#### Arch Linux
|
||||||
|
|
||||||
|
Use your favorite AUR helper and install `python-freqtrade-git`.
|
||||||
|
|
||||||
|
#### Manually
|
||||||
|
|
||||||
`master` branch contains the latest stable release.
|
`master` branch contains the latest stable release.
|
||||||
|
|
||||||
@ -75,18 +81,9 @@ $ pip install -e .
|
|||||||
$ ./freqtrade/main.py
|
$ ./freqtrade/main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
There is also an [article](https://www.sales4k.com/blockchain/high-frequency-trading-bot-tutorial/) about how to setup the bot (thanks [@gurghet](https://github.com/gurghet)).
|
There is also an [article](https://www.sales4k.com/blockchain/high-frequency-trading-bot-tutorial/) about how to setup the bot (thanks [@gurghet](https://github.com/gurghet)).*
|
||||||
|
|
||||||
#### Execute tests
|
\* *Note:* that article was written for an earlier version, so it may be outdated
|
||||||
|
|
||||||
```
|
|
||||||
$ pytest
|
|
||||||
```
|
|
||||||
This will by default skip the slow running backtest set. To run backtest set:
|
|
||||||
|
|
||||||
```
|
|
||||||
$ BACKTEST=true pytest -s freqtrade/tests/test_backtesting.py
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Docker
|
#### Docker
|
||||||
|
|
||||||
@ -136,7 +133,18 @@ $ docker start freqtrade
|
|||||||
You do not need to rebuild the image for configuration
|
You do not need to rebuild the image for configuration
|
||||||
changes, it will suffice to edit `config.json` and restart the container.
|
changes, it will suffice to edit `config.json` and restart the container.
|
||||||
|
|
||||||
#### Contributing
|
### Execute tests
|
||||||
|
|
||||||
|
```
|
||||||
|
$ pytest
|
||||||
|
```
|
||||||
|
This will by default skip the slow running backtest set. To run backtest set:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ BACKTEST=true pytest -s freqtrade/tests/test_backtesting.py
|
||||||
|
```
|
||||||
|
|
||||||
|
### Contributing
|
||||||
|
|
||||||
Feel like our bot is missing a feature? We welcome your pull requests! Few pointers for contributions:
|
Feel like our bot is missing a feature? We welcome your pull requests! Few pointers for contributions:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user