Skip to main content
Help us improve Python packaging – donate today!

TickVault Python Query API

Project Description

# TickVault Python Query API

Python API that provides programmatic access to micro and nanosecond-scale trading data on a TickVault platform from TickSmith. Portals with accessible data include [Thomson Reuters Tick History](https://trdata.tickvault.com) and [Nasdaq-CX](https://nasdaq-cx.ticksmith.com).

## Installation

Using pip:
```bash
pip install tickvault-python-api
```

## Example Usage

Get the bid/ask spread of TD on CHIX on May 4th, 2017
```python
from tickvaultpythonapi.nasdaqcxclient import NasdaqCxClient

nasdaq = NasdaqCxClient(user_name=<USER_NAME>, secret_key=<API_KEY>)

result = nasdaq.query_hits(source="CHIX", tickers="td",
fields="ts,askprice,bidprice",
start_time=20170504093000, end_time=20170504160000,
predicates="ask_size > 10 and bid_size > 10 and line_type like Q",
limit=1000000)

df = nasdaq.as_dataframe(result)

df.plot()
```

Release history Release notifications

This version
History Node

1.2.5

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
tickvault_python_api-1.2.5-py3-none-any.whl (22.9 kB) Copy SHA256 hash SHA256 Wheel py3 Sep 1, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page