Skip to main content

Python package that allows you to work with OneTick

Project description

Overview

onetick.py is a versatile and efficient Python library designed for handling tick data with ease. It harnesses the power of OneTick, the industry-leading tick analytics technology, to process tick data at unparalleled speeds. This library is tailored both for existing OneTick users, as a Python interface into OneTick, and for new users who seek an intuitive tool for tick data analysis that comes with tick data from 200+ exchanges.

The primary strength of onetick.py lies in its similarity to the popular Python library, Pandas. Users familiar with Pandas find onetick.py easy to learn. In particular, onetick.py users can think in terms of Python expressions, built-ins, and native math operations on tick fields.

onetick.py goes far beyond the functionality that exists in Pandas exposing all of the power of OneTick (decades of development for the capital markets use cases) in a Pandas-like style. Crucially, the Pandas-like syntax is translated into the OneTick query language, executing on the high-performance OneTick tick server engine. In a nutshell, onetick.py combines the ease of use of Python with the performance of OneTick.

Installation

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

pip install onetick-py[webapi]

Use webapi extra to easily use it with remote OneTick REST Servers, such as OneTick Cloud.

See Getting Started section in the documentation to see how quickly set up onetick-py configuration and authentication and start running queries.

For other installation options, including using onetick-py with locally installed OneTick server, see Installation section in the documentation.

Key Features

  • Pandas-like API: Familiar syntax and functions for those accustomed to Pandas.
  • High-Performance: Executes complex queries rapidly using the underlying OneTick C++ engine.
  • Real-time processing / CEP: Same intuitive syntax for real-time and historical analytics.
  • Convenient Data Inspection and Testing: Integrated tools for debugging, data inspection, and testing with pytest.
  • Enterprise-Grade Features: Includes support for authentication, access control, encryption, and entitlements.
  • Comprehensive Documentation: Public multiversion documentation with examples, guides, and use cases.

Applications

  • TCA / BestEx: Quickly implement your own TCA / BestEx analytics.
  • Quant research: Ideal for complex, high-performance tick data analysis.
  • Algorithmic Trading: Efficient for developing and testing trading algorithms.
  • Data Visualization: Compatible with OneTick's visualization tool, OneTick Dashboard.
  • Machine Learning: Integrates with the OneTick ML library onetick-ml.
  • Industry Applications: Industry leading OneTick's Trade Surveillance and BestEx/TCA solutions are written in onetick.py.
  • Back Testing: Retrieve historic market data and metrics.
  • Market Microstructure: Consolidated Book Depth analysis.

Advantages Over Competitors

  • Ease of Use: The only language that provides the performance of a DSL without having to learn a new syntax.
  • Performance: Demonstrates superior performance and memory efficiency compared to similar tools.
  • Parallel Processing: Natively parallelizable by security and by day.
  • Production-Ready: Ideal for debugging, testing, and CI/CD.

Ways to use onetick.py

onetick.py can be used to analyze data managed and hosted by OneTick or managed and hosted by the customer in a local OneTick installation.

Hosted OneTick

  • Hosted OneTick comes with high quality tick data, daily data, and reference data for 200+ global markets.
  • OneTick offers T+1 and real-time tick data that is normalized and quality checked.
  • OneTick supports a variety of symbologies and handles corporate action adjustments.
  • The installation is a simple pip install (details here).

Local OneTick

  • Manage all of your market data and order flow in the industry-leading tick management platform OneTick.
  • Have your users access and analyze the data via a simple and intuitive onetick.py API.
  • Managed services options are available.
  • Installation details are here.

OneTick

onetick-py is part of a bigger tick management OneTick ecosystem. You may want to turn to OneTick for

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onetick_py-1.193.0.tar.gz (492.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onetick_py-1.193.0-py3-none-any.whl (556.7 kB view details)

Uploaded Python 3

File details

Details for the file onetick_py-1.193.0.tar.gz.

File metadata

  • Download URL: onetick_py-1.193.0.tar.gz
  • Upload date:
  • Size: 492.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for onetick_py-1.193.0.tar.gz
Algorithm Hash digest
SHA256 d1274a4efcf8395c58ffc1dcdff76f32af1876d59d157b9d774156dfe8e1f3b0
MD5 5cbdcf62eaf8892cc8d1c4c25eae8cba
BLAKE2b-256 9f780cd1fe4a5fba0a4d0ef8eded692883c9f7ba62c670e9dd88c7805ad67db0

See more details on using hashes here.

File details

Details for the file onetick_py-1.193.0-py3-none-any.whl.

File metadata

  • Download URL: onetick_py-1.193.0-py3-none-any.whl
  • Upload date:
  • Size: 556.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for onetick_py-1.193.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43404294ee0d7bf770dbf9b2d54d4ebb3dfdb02e9cbee9cf68c0b803fddb2d08
MD5 637a908971b0933effc9593b217c6d98
BLAKE2b-256 b21362b3f8ca3cf4bae07171ce04756dd1745ed77c9f6fd38ad049abfc6c5a85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page