resample_single_pair#
API documentation for tradeexecutor.strategy.pandas_trader.alternative_market_data.resample_single_pair Python function.
- resample_single_pair(df, bucket)[source]#
Upsample a single pair DataFrame to a lower time bucket.
Resample in OHLCV manner
Forward fill any gaps in data
- Parameters:
bucket (TimeBucket) –
- Return type: