phBot Crypto
  • Introduction
  • Disclaimer
  • Purchasing
  • Download
  • Updating
  • Supported Operating Systems
  • Wallets
  • Tax
  • Frequently Asked Questions
  • DCA Calculator
  • Configuration
    • Introduction
    • Main
    • Pairs
    • Proxy
    • Examples
  • Exchanges
    • Introduction
    • Binance
    • Coinbase
    • Gemini
    • Alpaca (stocks/crypto)
    • Kraken
  • Python
    • Introduction
    • API
    • Functions
    • Example
    • Libs
Powered by GitBook
On this page
  • Included Libraries
  • Windows
  • Linux
  1. Python

Libs

Last updated 1 day ago

Included Libraries

  • ta-lib

  • tulipy

  • numpy

Windows

You will need to install Python 3.13.3 x86 if you want to install Python packages through pip.

pip3 install --target=<path\to\bot>\plugins\python313\Lib ta-lib

Linux

phBot is bundled with You will have to compile Python yourself in order to install the correct version of packages with pip.

LD_LIBRARY_PATH=/opt/python3.13.3/lib /opt/python3.13.3/bin/pip3 install -U --target=/home/$USER/.phBot-crypto/plugins/python313/Lib ta-lib

Building Python

./configure --prefix=/opt/python3.13.3 \
--enable-shared \
--enable-optimizations \
--with-ensurepip=install
make && sudo make install
Python 3.13.3 x86
Python 3.13.3 x64.