Adjust windows docs, fix failing doc-test
This commit is contained in:
parent
1406691945
commit
bc5cc48f67
@ -9,7 +9,7 @@ Otherwise, try the instructions below.
|
|||||||
Make sure to use 64bit Windows and 64bit Python to avoid problems with backtesting or hyperopt due to the memory constraints 32bit applications have under Windows.
|
Make sure to use 64bit Windows and 64bit Python to avoid problems with backtesting or hyperopt due to the memory constraints 32bit applications have under Windows.
|
||||||
|
|
||||||
!!! Hint
|
!!! Hint
|
||||||
Using the [Anaconda Distribution](https://www.anaconda.com/distribution/) under Windows can greatly help with installation problems. Check out the [Conda section](#using-conda) in this document for more information.
|
Using the [Anaconda Distribution](https://www.anaconda.com/distribution/) under Windows can greatly help with installation problems. Check out the [Anaconda installation section](installation.md#Anaconda) in this document for more information.
|
||||||
|
|
||||||
### 1. Clone the git repository
|
### 1. Clone the git repository
|
||||||
|
|
||||||
@ -23,17 +23,25 @@ Install ta-lib according to the [ta-lib documentation](https://github.com/mrjbq7
|
|||||||
|
|
||||||
As compiling from source on windows has heavy dependencies (requires a partial visual studio installation), there is also a repository of unofficial precompiled windows Wheels [here](https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib), which needs to be downloaded and installed using `pip install TA_Lib‑0.4.18‑cp38‑cp38‑win_amd64.whl` (make sure to use the version matching your python version)
|
As compiling from source on windows has heavy dependencies (requires a partial visual studio installation), there is also a repository of unofficial precompiled windows Wheels [here](https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib), which needs to be downloaded and installed using `pip install TA_Lib‑0.4.18‑cp38‑cp38‑win_amd64.whl` (make sure to use the version matching your python version)
|
||||||
|
|
||||||
```cmd
|
Freqtrade provides these dependencies for the latest 2 Python versions (3.7 and 3.8) and for 64bit Windows.
|
||||||
>cd \path\freqtrade-develop
|
Other versions must be downloaded from the above link.
|
||||||
>python -m venv .env
|
|
||||||
>.env\Scripts\activate.bat
|
``` powershell
|
||||||
REM optionally install ta-lib from wheel
|
cd \path\freqtrade
|
||||||
REM >pip install TA_Lib‑0.4.18‑cp38‑cp38‑win_amd64.whl
|
python -m venv .env
|
||||||
>pip install -r requirements.txt
|
.env\Scripts\activate.ps1
|
||||||
>pip install -e .
|
# optionally install ta-lib from wheel
|
||||||
>freqtrade
|
# Eventually adjust the below filename to match the downloaded wheel
|
||||||
|
pip install build_helpes/TA_Lib‑0.4.18‑cp38‑cp38‑win_amd64.whl
|
||||||
|
pip install -r requirements.txt
|
||||||
|
pip install -e .
|
||||||
|
freqtrade
|
||||||
```
|
```
|
||||||
|
|
||||||
|
!!! Note "Use Powershell"
|
||||||
|
The above installation script assumes you're using powershell on a 64bit windows.
|
||||||
|
Commands for the legacy CMD windows console may differ.
|
||||||
|
|
||||||
> Thanks [Owdr](https://github.com/Owdr) for the commands. Source: [Issue #222](https://github.com/freqtrade/freqtrade/issues/222)
|
> Thanks [Owdr](https://github.com/Owdr) for the commands. Source: [Issue #222](https://github.com/freqtrade/freqtrade/issues/222)
|
||||||
|
|
||||||
### Error during installation on Windows
|
### Error during installation on Windows
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
# Test Documentation boxes -
|
# Test Documentation boxes -
|
||||||
# !!! <TYPE>: is not allowed!
|
# !!! <TYPE>: is not allowed!
|
||||||
# !!! <TYPE> "title" - Title needs to be quoted!
|
# !!! <TYPE> "title" - Title needs to be quoted!
|
||||||
# !!! <TYPE> Spaces at the beginning are not allowed
|
grep -Er '^!{3}\s\S+:|^!{3}\s\S+\s[^"]' docs/*
|
||||||
grep -Er '^!{3}\s\S+:|^!{3}\s\S+\s[^"]|^\s+!{3}\s\S+' docs/*
|
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Docs test success."
|
echo "Docs test success."
|
||||||
|
Loading…
Reference in New Issue
Block a user