OHLCVCandleType#
API documentation for tradingstrategy.transport.cache.OHLCVCandleType Python class in Trading Strategy framework.
- class OHLCVCandleType[source]#
Bases:
Enum
Candle types for /candles endpoint
See /candles as https://tradingstrategy.ai/api/explorer/#/Trading%20pair/web_candles
- __init__(*args, **kwds)#
Attributes
OHLCV price data
Contains one-sided liquidity for XYLiquidity Uniswap v2 pairs and some V3 dollar nominated pairs
Contains one-sided quote-token measured, dollar-nominated, TVL for Uniswap v2 and v3 pairs
- price = 'price'#
OHLCV price data
- tvl_v1 = 'tvl'#
Contains one-sided liquidity for XYLiquidity Uniswap v2 pairs and some V3 dollar nominated pairs
This is the legacy method.
- tvl_v2 = 'tvl2'#
Contains one-sided quote-token measured, dollar-nominated, TVL for Uniswap v2 and v3 pairs
This is the recommended method.