synthetic_price_data#

API documentation for tradeexecutor.testing.synthetic_price_data Python module in Trading Strategy.

Module description#

Generate synthetic price data.

Functions#

generate_fixed_price_candles(bucket, start, ...)

Generate flat prices for several assets.

generate_multi_pair_candles(time_bucket, ...)

Generate synthetic tarding data for multiple trading pairs.

generate_ohlcv_candles(bucket, start, end[, ...])

Generate some sample time series data.

generate_tvl_candles(bucket, start, end, ...)

Generate synthetic liquidity candles.

load_ohlcv_parquet_file(path, chain_id, ...)

Load OHLCV data directly from a parquet file.