Update advise_* methods to entry/exit

This commit is contained in:
Matthias
2021-09-22 20:42:31 +02:00
parent 4c6b1cd55b
commit 0e13d57e57
8 changed files with 53 additions and 53 deletions

View File

@@ -274,8 +274,8 @@ class Backtesting:
pair_data.loc[:, 'long_tag'] = None
pair_data.loc[:, 'short_tag'] = None
df_analyzed = self.strategy.advise_sell(
self.strategy.advise_buy(pair_data, {'pair': pair}),
df_analyzed = self.strategy.advise_exit(
self.strategy.advise_entry(pair_data, {'pair': pair}),
{'pair': pair}
).copy()
# Trim startup period from analyzed dataframe