tradx 0.1.0__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/__init__.py +2 -0
- tradx/algoContainer.py +90 -0
- tradx/baseClass/baseAlgo.py +338 -0
- tradx/baseClass/candleData.py +89 -0
- tradx/baseClass/cmInstrument.py +84 -0
- tradx/baseClass/futureInstrument.py +74 -0
- tradx/baseClass/index.py +24 -0
- tradx/baseClass/instrumentPropertyChangeData.py +14 -0
- tradx/baseClass/ltpData.py +89 -0
- tradx/baseClass/ltpPartialData.py +108 -0
- tradx/baseClass/marketDepthData.py +126 -0
- tradx/baseClass/marketStatusData.py +110 -0
- tradx/baseClass/openInterestData.py +84 -0
- tradx/baseClass/openInterestPartialData.py +47 -0
- tradx/baseClass/optionsInstrument.py +279 -0
- tradx/baseClass/order.py +27 -0
- tradx/baseClass/orderEvent.py +90 -0
- tradx/baseClass/position.py +46 -0
- tradx/baseClass/positionEvent.py +84 -0
- tradx/baseClass/touchLineData.py +201 -0
- tradx/baseClass/touchLinePartialData.py +109 -0
- tradx/baseClass/tradeConversionEvent.py +80 -0
- tradx/baseClass/tradeEvent.py +153 -0
- tradx/constants/holidays.py +32 -0
- tradx/dualHashMap.py +57 -0
- tradx/interactiveEngine.py +764 -0
- tradx/logger/logger.py +83 -0
- tradx/logger/logger2.py +73 -0
- tradx/marketDataEngine.py +781 -0
- tradx/py.typed +0 -0
- tradx-0.1.0.dist-info/METADATA +69 -0
- tradx-0.1.0.dist-info/RECORD +33 -0
- tradx-0.1.0.dist-info/WHEEL +4 -0
tradx/py.typed
ADDED
File without changes
|
@@ -0,0 +1,69 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: tradx
|
3
|
+
Version: 0.1.0
|
4
|
+
Summary: Add your description here
|
5
|
+
Author-email: "jatin.kumawat" <jatin.kumawat@rmoneyindia.com>
|
6
|
+
Requires-Python: >=3.12
|
7
|
+
Requires-Dist: aiohttp==3.11.11
|
8
|
+
Requires-Dist: pydantic==2.10.4
|
9
|
+
Requires-Dist: pytest==8.3.4
|
10
|
+
Requires-Dist: shortuuid==1.0.13
|
11
|
+
Requires-Dist: xts-api-client==0.1.6
|
12
|
+
Description-Content-Type: text/markdown
|
13
|
+
|
14
|
+
# Changelog
|
15
|
+
|
16
|
+
## [v0.1.2] - *Released: 09-Jan-2025*
|
17
|
+
### Changes:
|
18
|
+
- **examples/example1.py**
|
19
|
+
- Refactored code for improved readability and efficiency.
|
20
|
+
- **examples/example2.log** *(New)*
|
21
|
+
- Log file for the second example script.
|
22
|
+
- **examples/example2.py** *(New)*
|
23
|
+
- Added a script demonstrating two example algorithmic trading strategies using the `tradx` library.
|
24
|
+
- **src/tradx/baseClass/baseAlgo.py**
|
25
|
+
- Added functionality to track orders and positions at the strategy level.
|
26
|
+
- Implemented the ability to square off individual strategy positions intraday without disrupting others.
|
27
|
+
- **src/tradx/baseClass/order.py** *(New)*
|
28
|
+
- Introduced a Pydantic class to manage strategy-level orders.
|
29
|
+
- **src/tradx/baseClass/orderEvent.py**
|
30
|
+
- Fixed a bug in attribute types for 'OrderAverageTradedPrice' and 'OrderAverageTradedPriceAPI.'
|
31
|
+
- **src/tradx/baseClass/position.py** *(New)*
|
32
|
+
- Introduced a Pydantic class to manage strategy-level positions.
|
33
|
+
- **src/tradx/interactiveEngine.py**
|
34
|
+
- Refactored code for better maintainability.
|
35
|
+
- Added functionality to cancel individual orders.
|
36
|
+
|
37
|
+
---
|
38
|
+
|
39
|
+
## [example1 Added] - *Released: 08-Jan-2025*
|
40
|
+
### Changes:
|
41
|
+
- **examples/example1.log** *(New)*
|
42
|
+
- Log file for the first example script.
|
43
|
+
- **examples/example1.py** *(New)*
|
44
|
+
- Example script showcasing basic functionality of the `tradx` library.
|
45
|
+
|
46
|
+
---
|
47
|
+
|
48
|
+
## [v0.1.1] - *Released: 08-Jan-2025*
|
49
|
+
### Changes:
|
50
|
+
- **algoContainer.py**
|
51
|
+
- Fixed the broadcast function to work with the new Pydantic class for candle data.
|
52
|
+
- **baseClass/baseAlgo.py**
|
53
|
+
- Added virtual functions for `unsubscribe`, `initialize`, and `deinitialize`.
|
54
|
+
- **baseClass/index.py** *(New)*
|
55
|
+
- Implemented a separate Pydantic class for index data management.
|
56
|
+
- **marketDataEngine.py**
|
57
|
+
- Made the `subscribe` and `unsubscribe` functions functional.
|
58
|
+
- Updated `loadMaster` function to fetch options and futures master data.
|
59
|
+
- Fixed bugs in `on_event_candle_data_full`.
|
60
|
+
|
61
|
+
---
|
62
|
+
|
63
|
+
## Initial Commit - *Released: 07-Jan-2025*
|
64
|
+
### Changes:
|
65
|
+
- Introduced the `tradx` package.
|
66
|
+
|
67
|
+
---
|
68
|
+
|
69
|
+
This changelog provides a clear and organized view of the changes across different versions.
|
@@ -0,0 +1,33 @@
|
|
1
|
+
tradx/__init__.py,sha256=MlWuula4lJZLPYPi4d5ZE9yoJnYWtgbZ0QsgWdWPwU0,53
|
2
|
+
tradx/algoContainer.py,sha256=1IkVCIF_gXIby8z3pDdlVeUablh-PZVZ1EawyCB7oUs,3807
|
3
|
+
tradx/dualHashMap.py,sha256=XsidIc3aMvpVGOvdfV7lOeZaLCWAD5i180BGyAfdYXE,1737
|
4
|
+
tradx/interactiveEngine.py,sha256=DCuEEYJcTn6DEG9pbaZsmGyHeyWGNG2q46Iljel6Drc,34584
|
5
|
+
tradx/marketDataEngine.py,sha256=pIY4dephqzykzPYJk0khYMVmD1QAr-17CtLN1WkcAWM,34597
|
6
|
+
tradx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
+
tradx/baseClass/baseAlgo.py,sha256=n72i0KJTOU_tLSR5UEYJejGCcW2-3i2iARe9avQpmTs,13658
|
8
|
+
tradx/baseClass/candleData.py,sha256=tS-iAoRGwK2xVSvrqmNZPYeB63qD53oPPHaUDfJBWkk,2947
|
9
|
+
tradx/baseClass/cmInstrument.py,sha256=WpibHdJyVGVs0B8o1COiXr4rNXB8bapzFLyRaIG0w9Q,2408
|
10
|
+
tradx/baseClass/futureInstrument.py,sha256=ygsGfzUg337gSwoSaAb8DB31YhLOI-nOv3ApX3z5CWQ,2186
|
11
|
+
tradx/baseClass/index.py,sha256=C5kj0WW_R3__5zsYGH1zJlSTfkAy_7vhbOtw1f3Iwew,786
|
12
|
+
tradx/baseClass/instrumentPropertyChangeData.py,sha256=DIqLb54eEu8aRzFk8J7crkqTedvBbf5dHQjw6pbcv1o,328
|
13
|
+
tradx/baseClass/ltpData.py,sha256=D6NSCgvRd1Fk6vD0EMuaDIyNgBxEPzN9C9RDJbN-uM0,3199
|
14
|
+
tradx/baseClass/ltpPartialData.py,sha256=W1Kw3OIiwOzrRAFHdjc42D_LDjNsquPnLsF3v2QsHhk,4289
|
15
|
+
tradx/baseClass/marketDepthData.py,sha256=WGKTmrUbXcZgCC8MBy404BDG0si-jO9mDWeXnHjmjiM,5050
|
16
|
+
tradx/baseClass/marketStatusData.py,sha256=lZKJlYB_Bfc1Rpv4rQ15ZQTXgH5EkBDOvH6RSqAnu9w,4037
|
17
|
+
tradx/baseClass/openInterestData.py,sha256=L-WuxyNwdZAFPoSVhfJPKv8jOy5K0rSB2o5EkWVSv9g,3111
|
18
|
+
tradx/baseClass/openInterestPartialData.py,sha256=vpo18P9VCBuCXbxjggg4ahd0uS5WkP14rBvcLwdrTFw,1673
|
19
|
+
tradx/baseClass/optionsInstrument.py,sha256=O3zhNf1R1wmtdPCUaDr7mOM7co0Aeg8AHmPvVpabP60,9886
|
20
|
+
tradx/baseClass/order.py,sha256=FrRiYJdiIJc2aVqjxvKndXn04z9V3j4wf4eF1W99nNU,886
|
21
|
+
tradx/baseClass/orderEvent.py,sha256=P4sJW3NKi53JDo8RwMVVKpCA_dIpkcE1-sm9ikpFYWk,2901
|
22
|
+
tradx/baseClass/position.py,sha256=6fzm_Mr1GKSaRArRgsZItgw74_8omy-MBXRTfO12Pwk,1551
|
23
|
+
tradx/baseClass/positionEvent.py,sha256=odOMeBqKUKfJ9Zj7IPcipMyfRTMsQyA-hvTJ_NcqKUk,3484
|
24
|
+
tradx/baseClass/touchLineData.py,sha256=sVODRdT97Xefnpzzddcza_N5KD6teh2tBhME4dRAE7w,7784
|
25
|
+
tradx/baseClass/touchLinePartialData.py,sha256=mdLVrD_4O74NRamTrrlH9ge69xVXv2w_XZXpAQOIMYI,4069
|
26
|
+
tradx/baseClass/tradeConversionEvent.py,sha256=WyRBu02EeUFrcYd9zkahAPYoP1rCoTQDB09IzNa3Zno,3246
|
27
|
+
tradx/baseClass/tradeEvent.py,sha256=djunJW5AzjeMfJZVMlrFprplB7vrYBi-mmaR1TA0MK4,6699
|
28
|
+
tradx/constants/holidays.py,sha256=GCg0xGvXm1EM0n6YF1KYEnldSiC2sbsc09Iekjwn0ww,1547
|
29
|
+
tradx/logger/logger.py,sha256=DfrjzwYkujTq7arksNTPcQeioXnwT1xgN659blhreog,3232
|
30
|
+
tradx/logger/logger2.py,sha256=ebJ-qqnpnCqvyx1Cz1-kGGULtkH-hfrK6UNfa0bSlH8,2654
|
31
|
+
tradx-0.1.0.dist-info/METADATA,sha256=f5uORQF1Zzg2UkoZ8fFo7elxsCvbcU1dOTnSVClEN-A,2575
|
32
|
+
tradx-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
33
|
+
tradx-0.1.0.dist-info/RECORD,,
|