init
This commit is contained in:
@@ -155,9 +155,9 @@ class Monitor:
|
|||||||
current_time = datetime.now()
|
current_time = datetime.now()
|
||||||
if data['buy_signal'].iloc[-1] == 'fall_6p':
|
if data['buy_signal'].iloc[-1] == 'fall_6p':
|
||||||
if data['Close'].iloc[-1] > 100:
|
if data['Close'].iloc[-1] > 100:
|
||||||
buy_amount = 700000
|
buy_amount = 500000
|
||||||
else:
|
else:
|
||||||
buy_amount = 400000
|
buy_amount = 300000
|
||||||
|
|
||||||
if symbol in self.buy_cooldown and symbol in self.last_buy_signal:
|
if symbol in self.buy_cooldown and symbol in self.last_buy_signal:
|
||||||
if self.last_buy_signal[symbol] == 'fall_6p':
|
if self.last_buy_signal[symbol] == 'fall_6p':
|
||||||
|
|||||||
Reference in New Issue
Block a user