tradx 0.7.5__py3-none-any.whl → 0.7.6__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.
@@ -233,7 +233,7 @@ class interactiveEngine(InteractiveSocketClient):
233
233
  disclosedQuantity=0,
234
234
  orderQuantity=abs(orderQuantity),
235
235
  limitPrice=0,
236
- stopPrice=stopPrice,
236
+ stopPrice=stopPrice.to_eng_string(),
237
237
  orderUniqueIdentifier=orderUniqueIdentifier,
238
238
  clientID=self.set_iuserID,
239
239
  )
@@ -366,7 +366,7 @@ class interactiveEngine(InteractiveSocketClient):
366
366
  ), "exchangeInstrumentID must be an integer"
367
367
  assert isinstance(productType, str), "productType must be a string"
368
368
  assert isinstance(orderQuantity, int), "orderQuantity must be an integer"
369
- assert isinstance(limitPrice, Decimal), "limitPrice must be a Decimal"
369
+ assert isinstance(limitPrice, Decimal), "limitPrice must be a string"
370
370
  assert isinstance(stopPrice, Decimal), "stopPrice must be a Decimal"
371
371
  assert isinstance(
372
372
  orderUniqueIdentifier, str
@@ -386,8 +386,8 @@ class interactiveEngine(InteractiveSocketClient):
386
386
  timeInForce=self.xt.VALIDITY_DAY,
387
387
  disclosedQuantity=0,
388
388
  orderQuantity=abs(orderQuantity),
389
- limitPrice=limitPrice,
390
- stopPrice=stopPrice,
389
+ limitPrice=limitPrice.to_eng_string(),
390
+ stopPrice=stopPrice.to_eng_string(),
391
391
  orderUniqueIdentifier=orderUniqueIdentifier,
392
392
  clientID=self.set_iuserID,
393
393
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tradx
3
- Version: 0.7.5
3
+ Version: 0.7.6
4
4
  Summary: A Package Designed to simplify strategy development on package xts-api-client
5
5
  Author-email: "jatin.kumawat" <jatin.kumawat@rmoneyindia.com>
6
6
  Requires-Python: >=3.12
@@ -1,7 +1,7 @@
1
1
  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
- tradx/interactiveEngine.py,sha256=MMncPGAwLxkPDSbBBxhnUd1QwlmKTptfFZ94ukg9wXg,34877
4
+ tradx/interactiveEngine.py,sha256=2Gy2txr8aoUIpTVBoHHcQ3Okzsip87xsKBUs1lWz8iI,34924
5
5
  tradx/marketDataEngine.py,sha256=QwMWI0kZe5OsFPUcG_J2Kk7-Q_WODmkUM8BBRgIvkTw,35163
6
6
  tradx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  tradx/baseClass/baseAlgo.py,sha256=LE4ZYb-gLpPMU45ETMg58kRQdGN-Q9wgDhKEasovL-k,20922
@@ -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.7.5.dist-info/METADATA,sha256=QAZSdZp-YRNOMG9xP57QsMEqc5JJb6jwh08zjTh90bQ,2627
32
- tradx-0.7.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
33
- tradx-0.7.5.dist-info/RECORD,,
31
+ tradx-0.7.6.dist-info/METADATA,sha256=AZ1VNz-ty3Q_fnXEhl4E5ooS1qjMGySEBOf5UtE1zls,2627
32
+ tradx-0.7.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
33
+ tradx-0.7.6.dist-info/RECORD,,
File without changes