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.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.analysis.portfolioanalyzer

Analyse the portfolio development over the time.

tradingstrategy.analysis.profitdistribution

Show histograms how many trades were profitable or not.

tradingstrategy.analysis.tradeanalyzer

Analyze the trade performance of algorithm

tradingstrategy.analysis.tradehint

Hint trade types.

tradingstrategy.frameworks.backtrader

Helper methods and classes to integrate Backtrader with Capitalgram based Pandas data.

tradingstrategy.frameworks.qstrader