docs: remove ta-lib special steps
This commit is contained in:
@@ -46,7 +46,6 @@ These requirements apply to both [Script Installation](#script-installation) and
|
|||||||
* [pip](https://pip.pypa.io/en/stable/installing/)
|
* [pip](https://pip.pypa.io/en/stable/installing/)
|
||||||
* [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
|
* [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
|
||||||
* [virtualenv](https://virtualenv.pypa.io/en/stable/installation.html) (Recommended)
|
* [virtualenv](https://virtualenv.pypa.io/en/stable/installation.html) (Recommended)
|
||||||
* [TA-Lib](https://ta-lib.github.io/ta-lib-python/) (install instructions [below](#install-ta-lib))
|
|
||||||
|
|
||||||
### Install code
|
### Install code
|
||||||
|
|
||||||
@@ -201,35 +200,6 @@ This option will hard reset your branch (only if you are on either `stable` or `
|
|||||||
|
|
||||||
Make sure you fulfill the [Requirements](#requirements) and have downloaded the [Freqtrade repository](#freqtrade-repository).
|
Make sure you fulfill the [Requirements](#requirements) and have downloaded the [Freqtrade repository](#freqtrade-repository).
|
||||||
|
|
||||||
### Install TA-Lib
|
|
||||||
|
|
||||||
#### TA-Lib script installation
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo ./build_helpers/install_ta-lib.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
!!! Note
|
|
||||||
This will use the ta-lib tar.gz included in this repository.
|
|
||||||
|
|
||||||
##### TA-Lib manual installation
|
|
||||||
|
|
||||||
[Official installation guide](https://ta-lib.github.io/ta-lib-python/install.html)
|
|
||||||
|
|
||||||
```bash
|
|
||||||
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
|
|
||||||
tar xvzf ta-lib-0.4.0-src.tar.gz
|
|
||||||
cd ta-lib
|
|
||||||
sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h
|
|
||||||
./configure --prefix=/usr/local
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
# On debian based systems (debian, ubuntu, ...) - updating ldconfig might be necessary.
|
|
||||||
sudo ldconfig
|
|
||||||
cd ..
|
|
||||||
rm -rf ./ta-lib*
|
|
||||||
```
|
|
||||||
|
|
||||||
### Setup Python virtual environment (virtualenv)
|
### Setup Python virtual environment (virtualenv)
|
||||||
|
|
||||||
You will run freqtrade in separated `virtual environment`
|
You will run freqtrade in separated `virtual environment`
|
||||||
@@ -332,16 +302,6 @@ python3 -m pip install -r requirements.txt
|
|||||||
python3 -m pip install -e .
|
python3 -m pip install -e .
|
||||||
```
|
```
|
||||||
|
|
||||||
Patch conda libta-lib (Linux only)
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Ensure that the environment is active!
|
|
||||||
conda activate freqtrade
|
|
||||||
|
|
||||||
cd build_helpers
|
|
||||||
bash install_ta-lib.sh ${CONDA_PREFIX} nosudo
|
|
||||||
```
|
|
||||||
|
|
||||||
[You are now ready](#you-are-ready) to run the bot.
|
[You are now ready](#you-are-ready) to run the bot.
|
||||||
|
|
||||||
### Important shortcuts
|
### Important shortcuts
|
||||||
|
|||||||
@@ -42,7 +42,3 @@ freqtrade install-ui
|
|||||||
|
|
||||||
Update-problems usually come missing dependencies (you didn't follow the above instructions) - or from updated dependencies, which fail to install (for example TA-lib).
|
Update-problems usually come missing dependencies (you didn't follow the above instructions) - or from updated dependencies, which fail to install (for example TA-lib).
|
||||||
Please refer to the corresponding installation sections (common problems linked below)
|
Please refer to the corresponding installation sections (common problems linked below)
|
||||||
|
|
||||||
Common problems and their solutions:
|
|
||||||
|
|
||||||
* [ta-lib update on windows](windows_installation.md#install-ta-lib)
|
|
||||||
|
|||||||
@@ -38,30 +38,6 @@ cd freqtrade
|
|||||||
!!! Hint
|
!!! Hint
|
||||||
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#installation-with-conda) in the documentation 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#installation-with-conda) in the documentation for more information.
|
||||||
|
|
||||||
### Install ta-lib
|
|
||||||
|
|
||||||
Install ta-lib according to the [ta-lib documentation](https://github.com/TA-Lib/ta-lib-python#windows).
|
|
||||||
|
|
||||||
As compiling from source on windows has heavy dependencies (requires a partial visual studio installation), Freqtrade provides these dependencies (in the binary wheel format) for the latest 3 Python versions (3.11, 3.12 and 3.13) and for 64bit Windows.
|
|
||||||
These Wheels are also used by CI running on windows, and are therefore tested together with freqtrade.
|
|
||||||
|
|
||||||
Other versions must be downloaded from the above link.
|
|
||||||
|
|
||||||
``` powershell
|
|
||||||
cd \path\freqtrade
|
|
||||||
python -m venv .venv
|
|
||||||
.venv\Scripts\activate.ps1
|
|
||||||
# optionally install ta-lib from wheel
|
|
||||||
# Eventually adjust the below filename to match the downloaded wheel
|
|
||||||
pip install --find-links build_helpers\ TA-Lib -U
|
|
||||||
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.
|
|
||||||
|
|
||||||
### Error during installation on Windows
|
### Error during installation on Windows
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user