Market data client#

This is the API documentation for Python tradingstrategy package.

tradingstrategy is a Python client for downloading decentralised market data from Trading Strategy oracles.

This allows

For code examples, see getting started tutorial.

Trading Strategy client#

tradingstrategy.client

Trading strategy client.

tradingstrategy.chain

Blockchain ids.

tradingstrategy.exchange

Exchange information and analysis.

tradingstrategy.pair

Trading pair information and pair datasets.

tradingstrategy.candle

Tradind OHLCV candle data and manipulation.

tradingstrategy.liquidity

Liquidity data feed manipulation.

tradingstrategy.timebucket

Time window presentation.

tradingstrategy.token

Token presentation.

tradingstrategy.reader

Reading and consuming datasets.

tradingstrategy.priceimpact

Price impact calculations.

tradingstrategy.stablecoin

Stablecoin supported functions.

tradingstrategy.types

Generic units used in data models used in Capitalgram.

tradingstrategy.utils

Miscellaneous utility functions

tradingstrategy.transport

Data download functionality.

tradingstrategy.charting

Plotting price action charts.

tradingstrategy.testing

Unit and integration testing helpers.

tradingstrategy.direct_feed

Real time OHLCV candles directly from on-chain data.