tradx 0.5__py3-none-any.whl → 0.7__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/baseClass/baseAlgo.py
CHANGED
@@ -410,7 +410,7 @@ class BaseAlgo(ABC):
|
|
410
410
|
),
|
411
411
|
None,
|
412
412
|
)
|
413
|
-
while order is None or (order is not None and "Filled"
|
413
|
+
while order is None or (order is not None and order.OrderStatus != "Filled"):
|
414
414
|
await asyncio.sleep(0.1)
|
415
415
|
order = next(
|
416
416
|
(
|
@@ -427,7 +427,7 @@ class BaseAlgo(ABC):
|
|
427
427
|
caller=f"{self.__class__.__name__}.safe_market_order",
|
428
428
|
)
|
429
429
|
break
|
430
|
-
if order is not None and "Filled"
|
430
|
+
if order is not None and order.OrderStatus != "Filled":
|
431
431
|
Data: TouchLineData = (
|
432
432
|
await self.marketDataEngine.fetch_ltp(
|
433
433
|
[
|
@@ -4,7 +4,7 @@ tradx/dualHashMap.py,sha256=XsidIc3aMvpVGOvdfV7lOeZaLCWAD5i180BGyAfdYXE,1737
|
|
4
4
|
tradx/interactiveEngine.py,sha256=DCuEEYJcTn6DEG9pbaZsmGyHeyWGNG2q46Iljel6Drc,34584
|
5
5
|
tradx/marketDataEngine.py,sha256=pIY4dephqzykzPYJk0khYMVmD1QAr-17CtLN1WkcAWM,34597
|
6
6
|
tradx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
-
tradx/baseClass/baseAlgo.py,sha256=
|
7
|
+
tradx/baseClass/baseAlgo.py,sha256=wTV4Ub8lLr1U8-rI_j7NXbUdxTpITHXf_TyqpsmhJ28,20705
|
8
8
|
tradx/baseClass/candleData.py,sha256=tS-iAoRGwK2xVSvrqmNZPYeB63qD53oPPHaUDfJBWkk,2947
|
9
9
|
tradx/baseClass/cmInstrument.py,sha256=WpibHdJyVGVs0B8o1COiXr4rNXB8bapzFLyRaIG0w9Q,2408
|
10
10
|
tradx/baseClass/futureInstrument.py,sha256=ygsGfzUg337gSwoSaAb8DB31YhLOI-nOv3ApX3z5CWQ,2186
|
@@ -28,6 +28,6 @@ tradx/baseClass/tradeEvent.py,sha256=djunJW5AzjeMfJZVMlrFprplB7vrYBi-mmaR1TA0MK4
|
|
28
28
|
tradx/constants/holidays.py,sha256=GCg0xGvXm1EM0n6YF1KYEnldSiC2sbsc09Iekjwn0ww,1547
|
29
29
|
tradx/logger/logger.py,sha256=DfrjzwYkujTq7arksNTPcQeioXnwT1xgN659blhreog,3232
|
30
30
|
tradx/logger/logger2.py,sha256=ebJ-qqnpnCqvyx1Cz1-kGGULtkH-hfrK6UNfa0bSlH8,2654
|
31
|
-
tradx-0.
|
32
|
-
tradx-0.
|
33
|
-
tradx-0.
|
31
|
+
tradx-0.7.dist-info/METADATA,sha256=kB7sJCuCs4-T03nnTi769t6lG-2F_O12UYtu6PhoKwY,2625
|
32
|
+
tradx-0.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
33
|
+
tradx-0.7.dist-info/RECORD,,
|
File without changes
|