mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
remove unnecessary calculation
This commit is contained in:
parent
1b6a60ecb2
commit
174122a09b
|
@ -59,7 +59,6 @@ def buy_strategy_generator(params):
|
|||
dataframe.loc[
|
||||
reduce(lambda x, y: x & y, conditions),
|
||||
'buy'] = 1
|
||||
dataframe.loc[dataframe['buy'] == 1, 'buy_price'] = dataframe['close']
|
||||
|
||||
return dataframe
|
||||
return populate_buy_trend
|
||||
|
|
Loading…
Reference in New Issue
Block a user