init
This commit is contained in:
@@ -21,7 +21,7 @@ class MonitorCoin (Monitor):
|
||||
recent_inverseData = self.check_point(symbol, inverseData)
|
||||
if recent_inverseData['point'].iloc[-1] != 1:
|
||||
continue
|
||||
sell_success = self.sell_ticker(symbol, recent_inverseData)
|
||||
sell_success = self.sell_ticker_1h(symbol, recent_inverseData)
|
||||
if not sell_success:
|
||||
continue
|
||||
|
||||
@@ -29,7 +29,7 @@ class MonitorCoin (Monitor):
|
||||
recent_data = self.check_point(symbol, data)
|
||||
if recent_data['point'].iloc[-1] != 1:
|
||||
continue
|
||||
buy_success = self.buy_ticker(symbol, recent_data)
|
||||
buy_success = self.buy_ticker_1h(symbol, recent_data)
|
||||
if not buy_success:
|
||||
continue
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user