bitunix-automated-crypto-trading 2.6.8__tar.gz → 3.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/PKG-INFO +1 -1
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/BitunixSignal.py +1 -1
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/TickerManager.py +11 -11
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/config.py +1 -1
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading.egg-info/PKG-INFO +1 -1
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/setup.py +1 -1
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/README.md +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/AsyncThreadRunner.py +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/BitunixApi.py +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/BitunixWebSocket.py +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/DataFrameHtmlRenderer.py +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/NotificationManager.py +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/ThreadManager.py +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/__init__.py +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/bitunix.py +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading/logger.py +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading.egg-info/SOURCES.txt +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading.egg-info/dependency_links.txt +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading.egg-info/entry_points.txt +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading.egg-info/requires.txt +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/bitunix_automated_crypto_trading.egg-info/top_level.txt +0 -0
- {bitunix_automated_crypto_trading-2.6.8 → bitunix_automated_crypto_trading-3.0.1}/setup.cfg +0 -0
@@ -100,7 +100,7 @@ class BitunixSignal:
|
|
100
100
|
olist = [entry['symbol'] for entry in self.pendingOrders['orderList']]
|
101
101
|
newlist=olist+plist+list(set(symbols))
|
102
102
|
self.tickerList=newlist[:300]
|
103
|
-
#self.tickerList=['
|
103
|
+
#self.tickerList=['IMXUSDT']
|
104
104
|
|
105
105
|
[await self.add_ticker_to_tickerObjects(sym) for sym in self.tickerList]
|
106
106
|
self.notifications.add_notification(f"{len(self.tickerList)} ticker list loaded")
|
@@ -225,26 +225,26 @@ class Interval:
|
|
225
225
|
|
226
226
|
# Check for BUY signal
|
227
227
|
buy_conditions = (
|
228
|
-
(
|
229
|
-
(
|
230
|
-
(
|
231
|
-
(
|
228
|
+
(self.settings.EMA_STUDY and self.settings.EMA_CHECK_ON_OPEN and self.ema_signal == "BUY") or
|
229
|
+
(self.settings.MACD_STUDY and self.settings.MACD_CHECK_ON_OPEN and self.macd_signal == "BUY") or
|
230
|
+
(self.settings.BBM_STUDY and self.settings.BBM_CHECK_ON_OPEN and self.bbm_signal == "BUY") or
|
231
|
+
(self.settings.RSI_STUDY and self.settings.RSI_CHECK_ON_OPEN and self.rsi_signal == "BUY")
|
232
232
|
)
|
233
233
|
additional_buy_conditions = (
|
234
|
-
(not self.settings.ADX_STUDY or not self.settings.ADX_CHECK_ON_OPEN or self.adx_signal == "STRONG")
|
234
|
+
(not self.settings.ADX_STUDY or not self.settings.ADX_CHECK_ON_OPEN or self.adx_signal == "STRONG") or
|
235
235
|
(not self.settings.CANDLE_TREND_STUDY or not self.settings.CANDLE_TREND_CHECK_ON_OPEN or self.candle_trend == "BULLISH")
|
236
236
|
)
|
237
237
|
|
238
238
|
# Check for SELL signal
|
239
239
|
sell_conditions = (
|
240
|
-
(
|
241
|
-
(
|
242
|
-
(
|
243
|
-
(
|
240
|
+
(self.settings.EMA_STUDY and self.settings.EMA_CHECK_ON_OPEN and self.ema_signal == "SELL") or
|
241
|
+
(self.settings.MACD_STUDY and self.settings.MACD_CHECK_ON_OPEN and self.macd_signal == "SELL") or
|
242
|
+
(self.settings.BBM_STUDY and self.settings.BBM_CHECK_ON_OPEN and self.bbm_signal == "SELL") or
|
243
|
+
(self.settings.RSI_STUDY and self.settings.RSI_CHECK_ON_OPEN and self.rsi_signal == "SELL")
|
244
244
|
)
|
245
245
|
additional_sell_conditions = (
|
246
|
-
(
|
247
|
-
(
|
246
|
+
(self.settings.ADX_STUDY and self.settings.ADX_CHECK_ON_OPEN and self.adx_signal == "STRONG") or
|
247
|
+
(self.settings.CANDLE_TREND_STUDY and self.settings.CANDLE_TREND_CHECK_ON_OPEN or self.candle_trend == "BEARISH")
|
248
248
|
)
|
249
249
|
|
250
250
|
# Determine current signal
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|