Indicators
Installation

Installation

At the time of writing, the library has been tested to support Windows, Linux and MacOS. The only requirement is to have a working Python3 and the native build tools for your platform, MSVC on Windows, gcc on Linux and clang on MacOS.

Setup

Before intalling the library, make sure you have a working Python3 environment and the native build tools for your platform, MSVC on Windows, gcc on Linux and clang on MacOS. Refer to the Prerequisites section for more details.

After having the prerequisites, run the following command in your terminal to install the library:

pip install cybotrade-indicators

Prerequisites

Windows

On Windows, you need to install the Microsoft Visual C++ (MSVC) compiler toolset. If you have a recent version of Visual Studio, open the Visual Studio Installer from the Windows Start menu and verify that the C++ workload is checked. If it's not installed, then check the box and select the Modify button in the installer.

You can also install the Desktop development with C++ workload without a full Visual Studio IDE installation. From the Visual Studio Downloads (opens in a new tab) page, scroll down until you see Tools for Visual Studio under the All Downloads section and select the download for Build Tools for Visual Studio 2022.

Build Tools for Visual Studio download

This will launch the Visual Studio Installer, which will bring up a dialog showing the available Visual Studio Build Tools workloads. Check the Desktop development with C++ workload and select Install.

Desktop development with C++ workload

Linux

On linux, most distributions come with GCC pre-installed, if not, you can install it with the following command:

# Ubuntu
sudo apt install build-essential
 
# Amazon Linux 2
sudo yum groupinstall "Development Tools"

MacOS

On MacOS, you need to install the Xcode command line tools, you can install it with the following command:

xcode-select --install