A python client for tickerdax.com with a built-in caching system.
Project description
TickerDax Python Client
A python package that interfaces with the tickerdax.com REST and websockets API. It handles common data operations like batch downloading data, streaming real-time data, and caching data locally to minimize network requests.
Installation
You can install this package with pip by running the command below.
pip install tickerdax
Docker Dependency
This client interfaces with a redis docker container. In order for the package to work, you must first install docker.
Mac
Linux
Windows
Note on windows you must first install WSL then you can install docker. Instructions
Usage
Here is a basic example of getting data from the REST API.
import pytz
from pprint import pprint
from datetime import datetime
from tickerdax import TickerDax
client = TickerDax()
pprint(client.get_into_the_block_predictions(
symbols=["BTC"],
start=datetime.now(tz=pytz.UTC),
end=datetime.now(tz=pytz.UTC)
))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tickerdax-0.0.1.tar.gz
(10.3 kB
view hashes)
Built Distribution
tickerdax-0.0.1-py3-none-any.whl
(12.2 kB
view hashes)
Close
Hashes for tickerdax-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01cae5abb90d3edf861212f98d808a57a320e8dd7c1d50bb31ed4e3a02438d14 |
|
MD5 | a16fd8b13333d837a642599f4163cb7f |
|
BLAKE2b-256 | 9c5857c055ef2a398cbf9c2ced69673fdd3226c3aa20293be89ca49e930fba24 |