tradx 0.8.2__py3-none-any.whl → 0.8.3__py3-none-any.whl
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.
tradx/marketDataEngine.py
CHANGED
@@ -297,7 +297,7 @@ class marketDataEngine(MarketDataSocketClient):
|
|
297
297
|
current_time = datetime.now().time()
|
298
298
|
cnt: int = 0
|
299
299
|
if current_time < datetime.strptime("15:20", "%H:%M").time():
|
300
|
-
while not self.isConnected and cnt <
|
300
|
+
while not self.isConnected and cnt < 8:
|
301
301
|
print("Attempting to reconnect as the time is before 3:20 PM and isConnected is False for market data socket.")
|
302
302
|
if self.user_logger:
|
303
303
|
self.user_logger.info(
|
@@ -313,7 +313,7 @@ class marketDataEngine(MarketDataSocketClient):
|
|
313
313
|
f"Reconnection attempt {cnt} failed. Retrying...",
|
314
314
|
caller="marketDataEngine.on_disconnect",
|
315
315
|
)
|
316
|
-
if cnt >=
|
316
|
+
if cnt >= 8:
|
317
317
|
print("Reconnection attempts failed for market data socket. Please check the network connection.",)
|
318
318
|
if self.user_logger:
|
319
319
|
self.user_logger.error(
|
@@ -2,7 +2,7 @@ tradx/__init__.py,sha256=MlWuula4lJZLPYPi4d5ZE9yoJnYWtgbZ0QsgWdWPwU0,53
|
|
2
2
|
tradx/algoContainer.py,sha256=1IkVCIF_gXIby8z3pDdlVeUablh-PZVZ1EawyCB7oUs,3807
|
3
3
|
tradx/dualHashMap.py,sha256=XsidIc3aMvpVGOvdfV7lOeZaLCWAD5i180BGyAfdYXE,1737
|
4
4
|
tradx/interactiveEngine.py,sha256=vKGjIlyngFay4bD-9jvmGB8cGDyqDi2tmZdHmPdDbYs,40860
|
5
|
-
tradx/marketDataEngine.py,sha256=
|
5
|
+
tradx/marketDataEngine.py,sha256=cEJxXg1Z9GP39jzLaMUCaJcLod7VJea-Xe9luMy5hwQ,39994
|
6
6
|
tradx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
tradx/baseClass/baseAlgo.py,sha256=eUfFNlTB7rwgIt8pbU3qj7SlD5jOCgpnL4jXXFJQqa8,21012
|
8
8
|
tradx/baseClass/candleData.py,sha256=tS-iAoRGwK2xVSvrqmNZPYeB63qD53oPPHaUDfJBWkk,2947
|
@@ -28,6 +28,6 @@ tradx/baseClass/tradeEvent.py,sha256=djunJW5AzjeMfJZVMlrFprplB7vrYBi-mmaR1TA0MK4
|
|
28
28
|
tradx/constants/holidays.py,sha256=B4ee4bPFy-gBTKN6-G68Idf1n6HxoRcx72O92zSobcE,1200
|
29
29
|
tradx/logger/logger.py,sha256=DfrjzwYkujTq7arksNTPcQeioXnwT1xgN659blhreog,3232
|
30
30
|
tradx/logger/logger2.py,sha256=ebJ-qqnpnCqvyx1Cz1-kGGULtkH-hfrK6UNfa0bSlH8,2654
|
31
|
-
tradx-0.8.
|
32
|
-
tradx-0.8.
|
33
|
-
tradx-0.8.
|
31
|
+
tradx-0.8.3.dist-info/METADATA,sha256=lHQQpGBKmsdirNevb5J7SITQ1xWyOFLdQLYjarvlBfg,2628
|
32
|
+
tradx-0.8.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
33
|
+
tradx-0.8.3.dist-info/RECORD,,
|
File without changes
|