Installation#

This section describes how to install the onetick-py package to use remotely with OneTick Cloud Server. In this case, the package does not require OneTick binaries to be installed on the client side.

Prerequisites#

  • You installed python 3.8 or newer.

  • You installed pip.

  • Optional, but it is highly recommended to use virtual environment for Python packages.

    Create and activate it with following commands:

    • Linux / MacOS: python3 -m venv venv && source venv/bin/activate

    • Windows (cmd): python -m venv venv && venv\Scripts\activate

Installation from PyPI#

The latest version of onetick-py is available on PyPI: https://pypi.org/project/onetick-py/.

pip install onetick-py[webapi]

webapi extra is needed to install additional dependencies required for making web-connection to the OneTick server.

Getting started#

Go to the Getting Started page.