Update data-download.md

Fix wrong path
Add section about fixing wrong docker permission, if user_data is created by docker, it's permission are set to `root`
This commit is contained in:
JoeSchr 2021-02-04 19:36:04 +01:00 committed by GitHub
parent 19e43e2e9d
commit 5165357f40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,7 +264,19 @@ If you are using Binance for example:
```bash ```bash
mkdir -p user_data/data/binance mkdir -p user_data/data/binance
cp freqtrade/tests/testdata/pairs.json user_data/data/binance cp tests/testdata/pairs.json user_data/data/binance
```
if you your configuration directory `user_data` was made by docker, you may get an error:
```
cp: cannot create regular file 'user_data/data/binance/pairs.json': Permission denied
```
so you will need to fix your permission by doing:
```
chown -R $UID:$GID user_data
``` ```
The format of the `pairs.json` file is a simple json list. The format of the `pairs.json` file is a simple json list.