# Environment Setup

Notice

Ways of building programming environment are different for different programming languages.

# Python Environment

# Environment Requirement

  • Operating system requirements:
    • 32-bit or 64-bit operating system of Windows 7/10
    • 64-bit operating system of Mac 10.11 and above
    • 64-bit operating system of CentOS 7 and above
    • 64-bit operating system of Ubuntu 16.04 and above
  • Python version requirements:
    • Python 3.6 or above

# Environment Building

# 1. Install Python

To avoid running failures due to environmental problems, we recommend Python version 3.8.

Download page: Download Python

Tips

Two methods are provided to switch to a Python 3.8 environment:

  • Method 1
    Add the installation path of Python 3.8 to the environment variable path.

  • Method 2
    If you are using PyCharm, you can switch the Project Interpreter to specified Python environment in Settings.

pycharm-switch-python

After the installation, execute the following command to see if the installation is successful:
python -V (Windows) or python3 -V (Linux/Mac)

# 2. Install PyCharm (Optional)

We recommend that using PyCharm as your Python IDE.

# 3. Install TA-Lib (Optional)

TA-Lib is a functional library widely used in program trading for technical analysis of market data. It provides a variety of technical analysis functions to facilitate our quantitative investment.

Installation method: directly use pip installation in cmd
$ pip install TA-Lib

提示

  • Installation of TA-Lib is not necessary, you can skip this step