init
This commit is contained in:
@@ -129,7 +129,7 @@ class Monitor:
|
||||
def buy_ticker(self, symbol: str, data: pd.DataFrame) -> bool:
|
||||
try:
|
||||
current_time = datetime.now()
|
||||
if data['buy_signal'].iloc[-1] != 'fall_5p':
|
||||
if data['buy_signal'].iloc[-1] == 'fall_5p':
|
||||
buy_amount = 100000
|
||||
|
||||
if symbol in self.buy_cooldown:
|
||||
|
||||
Reference in New Issue
Block a user