init
This commit is contained in:
@@ -306,16 +306,16 @@ class Monitor(HTS):
|
||||
return False
|
||||
|
||||
if data['signal'].iloc[-1] == 'movingaverage':
|
||||
buy_amount = 100000
|
||||
buy_amount = 10000
|
||||
elif data['signal'].iloc[-1] == 'deviation40':
|
||||
buy_amount = 500000
|
||||
buy_amount = 50000
|
||||
elif data['signal'].iloc[-1] == 'deviation240':
|
||||
buy_amount = 60000
|
||||
elif data['signal'].iloc[-1] == 'deviation1440':
|
||||
if symbol in ['BONK', 'PEPE', 'TON']:
|
||||
buy_amount = 200000
|
||||
buy_amount = 20000
|
||||
else:
|
||||
buy_amount = 300000
|
||||
buy_amount = 30000
|
||||
|
||||
if data['signal'].iloc[-1] in ['movingaverage', 'deviation40', 'deviation240', 'deviation1440']:
|
||||
if check_5_week_lowest:
|
||||
@@ -323,7 +323,6 @@ class Monitor(HTS):
|
||||
|
||||
# 분봉 시스널이 없을 때는 이전 봉보다 높으면 60분 마다 매수
|
||||
if data['point'].iloc[-1] != 1:
|
||||
buy_amount = 30000
|
||||
last_buy_dt = self.buy_cooldown.get(symbol, {}).get('buy', {}).get('datetime')
|
||||
if last_buy_dt:
|
||||
time_diff = current_time - last_buy_dt
|
||||
|
||||
Reference in New Issue
Block a user