ivanproskuryakov / ta-search

Trade entry indicator detection library
27 stars 10 forks source link

TaSearchLevelG15m has_bias #6

Open astrafeng opened 10 months ago

astrafeng commented 10 months ago

024-02-04 16:38:29,973 - freqtrade.optimize.analysis.lookahead_helpers - INFO - Checking look ahead bias via backtests of TaSearchLevelG15m.py took 789 seconds. | filename | strategy | has_bias | total_signals | biased_entry_signals | biased_exit_signals | biased_indicators | |----------------------+-------------------+------------+-----------------+------------------------+-----------------------+--------------------------------------------| | TaSearchLevelG15m.py | TaSearchLevelG15m | True | 20 | 1 | 0 | buy_short2, i_close, i_open, i_low, i_high |

astrafeng commented 10 months ago

freqtrade lookahead-analysis -s TaSearchLevelG15m --timerange 20231004-

alexwiththescar commented 9 months ago

I think it might in both the do_long and do_short methods.

df['i_close'].loc[i] = df['c'].loc[x]

Im testing it now... :)