Trader-AngleOne-Pro 1.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.
@@ -0,0 +1,109 @@
1
+ Metadata-Version: 2.4
2
+ Name: Trader_AngleOne_Pro
3
+ Version: 1.3
4
+ Summary: A lightweight, efficient Python wrapper for fetching historical equity market data via Angel One SmartAPI.
5
+ Author-email: ROHIT GUPTA <everything108rp@gmail.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/Rohit-Gupta-369/Trader_AngleOne
8
+ Project-URL: Bug Tracker, https://github.com/Rohit-Gupta-369/Trader_AngleOne/issues
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Topic :: Office/Business :: Financial :: Investment
13
+ Requires-Python: >=3.7
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: smartapi-python
17
+ Requires-Dist: pandas
18
+ Dynamic: license-file
19
+
20
+ # Trader_AngleOne
21
+
22
+ A lightweight, efficient Python wrapper for fetching historical equity market data via Angel One SmartAPI.
23
+
24
+ ## Features
25
+
26
+ - **Easy Authentication:** Initialize seamlessly using dictionary unpacking.
27
+ - **Granular Timeframes:** Supports 1-minute up to daily data intervals.
28
+ - **NSE Equity Focus:** Built specifically to fetch NSE - EQ segment data (e.g., NIFTY, BANKNIFTY, RELIANCE, CIPLA).
29
+
30
+ ---
31
+
32
+ ## Installation
33
+
34
+ Install the package via pip (once published to PyPI):
35
+
36
+ ```bash
37
+ pip install Trader_AngleOne
38
+ ```
39
+
40
+ ---
41
+
42
+ ## Quick Start & Usage
43
+
44
+ This library focuses exclusively on the **NSE Equity (NSE-EQ)** segment. It does not support Derivatives/Futures data.
45
+
46
+ Here is how to initialize the trader and fetch historical data across various timeframes:
47
+
48
+ ```python
49
+ from Trader_AngleOne import TraderAngleOne
50
+
51
+ # 1. Define your Angel One API credentials
52
+ crd = {
53
+ "api_key" : "abc",
54
+ "secret_key" : "abc-abc-abc",
55
+ "totp" : "abcAKBDLEMI",
56
+ "userid" : "U8XX1XX",
57
+ "pwd" : "1XX8",
58
+ }
59
+
60
+ # 2. Initialize the client using dictionary unpacking
61
+ angle = TraderAngleOne(**crd)
62
+
63
+ # 3. Fetch Historical Data (Parameters: Token/Symbol, Interval, Start Time, End Time, Exchange)
64
+
65
+ # Fetch 1-Minute Data
66
+ reliance_1 = angle.get_history_data('RELIANCE', '1', '2026-01-01 9:15', '2026-01-02 15:30', 'NSE')
67
+
68
+ # Fetch 3-Minute Data
69
+ reliance_3 = angle.get_history_data('RELIANCE', '3', '2026-01-01 9:15', '2026-01-02 15:30', 'NSE')
70
+
71
+ # Fetch 5-Minute Data
72
+ reliance_5 = angle.get_history_data('RELIANCE', '5', '2026-01-01 9:15', '2026-01-02 15:30', 'NSE')
73
+
74
+ # Fetch 15-Minute Data
75
+ reliance_15 = angle.get_history_data('RELIANCE', '15', '2026-01-01 9:15', '2026-01-02 15:30', 'NSE')
76
+
77
+ # Fetch 30-Minute Data
78
+ reliance_30 = angle.get_history_data('RELIANCE', '30', '2026-01-01 9:15', '2026-01-02 15:30', 'NSE')
79
+
80
+ # Fetch 1-Hour Data
81
+ reliance_1H = angle.get_history_data('RELIANCE', '1H', '2026-01-01 9:15', '2026-01-02 15:30', 'NSE')
82
+
83
+ # Fetch 1-Day Data
84
+ reliance_1D = angle.get_history_data('RELIANCE', '1D', '2026-01-01 9:15', '2026-01-02 15:30', 'NSE')
85
+ ```
86
+
87
+ ---
88
+
89
+ ## Supported Timeframes
90
+
91
+ Pass these exact string values into the second argument of `get_history_data()`:
92
+
93
+ - `"1"` - 1 Minute
94
+ - `"3"` - 3 Minutes
95
+ - `"5"` - 5 Minutes
96
+ - `"15"` - 15 Minutes
97
+ - `"30"` - 30 Minutes
98
+ - `"1H"` - 1 Hour
99
+ - `"1D"` - 1 Day
100
+
101
+ ---
102
+
103
+ ## License
104
+
105
+ # Distributed under the MIT License. See `LICENSE` for more information.
106
+
107
+ # Trader_AngleOne
108
+
109
+ > > > > > > > d983ccc6afe5dd7c494481585c5374dd60606e58
@@ -0,0 +1,8 @@
1
+ Trader_AngleOne/__init__.py,sha256=VOc71dkJehc8FEOE6ecpi7mJ4LSB7D0VCpSijgv14r4,66
2
+ Trader_AngleOne/main.py,sha256=WejBPjWBKGkLSnhNRjEQhOvzgfrXUYHdsxu0HCUVzLQ,4434
3
+ Trader_AngleOne/map_stock.py,sha256=p8tKTw5zbArsKoRQkxyA0K471zYIRISI4Z2fFMb0v70,57856
4
+ trader_angleone_pro-1.3.dist-info/licenses/LICENSE,sha256=c6hdvGck6vbLd-1-Q7HMy7BvOltJP6bhzP-BFSYeHlQ,1087
5
+ trader_angleone_pro-1.3.dist-info/METADATA,sha256=LL-8e_UfaMz0_IQ72tbKE60d-ffRN3_vALHhGnCRdCw,3368
6
+ trader_angleone_pro-1.3.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
7
+ trader_angleone_pro-1.3.dist-info/top_level.txt,sha256=8mNBP6x_5CIyeO_yLyxB6YaztzY-4YgK2iZt5RNpQcU,16
8
+ trader_angleone_pro-1.3.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (83.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 ROHIT GUPTA
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ Trader_AngleOne