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:
parent
19e43e2e9d
commit
5165357f40
@ -264,7 +264,19 @@ If you are using Binance for example:
|
||||
|
||||
```bash
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user