mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
trades()
: add lookahead warning to docstring
This commit is contained in:
parent
ab7f8b3a0f
commit
8afcaeeed9
|
@ -502,6 +502,7 @@ class DataProvider:
|
|||
"""
|
||||
Get candle (TRADES) data for the given pair as DataFrame
|
||||
Please use the `available_pairs` method to verify which pairs are currently cached.
|
||||
This is not meant to be used in callbacks because of lookahead bias.
|
||||
:param pair: pair to get the data for
|
||||
:param timeframe: Timeframe to get data for
|
||||
:param candle_type: '', mark, index, premiumIndex, or funding_rate
|
||||
|
|
Loading…
Reference in New Issue
Block a user