while25 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.
Files changed (50) hide show
  1. while25/__init__.py +341 -0
  2. while25/_costs/brokers/alpaca.json +96 -0
  3. while25/_costs/brokers/binance.json +34 -0
  4. while25/_costs/brokers/coinbase.json +34 -0
  5. while25/_costs/brokers/ibkr.json +39 -0
  6. while25/_costs/brokers/upstox.json +175 -0
  7. while25/_costs/brokers/zerodha.json +175 -0
  8. while25/_costs/crypto_alpaca.json +27 -0
  9. while25/_costs/global_crypto.json +18 -0
  10. while25/_costs/in_nse_equity.json +238 -0
  11. while25/_costs/in_nse_etf.json +352 -0
  12. while25/_costs/in_nse_fo.json +450 -0
  13. while25/_costs/us_crypto.json +18 -0
  14. while25/_costs/us_equity.json +175 -0
  15. while25/_costs/us_options.json +172 -0
  16. while25/_days.py +123 -0
  17. while25/_figures.py +233 -0
  18. while25/_runtime.py +49 -0
  19. while25/_universes/banknifty.json +80 -0
  20. while25/_universes/ndx100.json +520 -0
  21. while25/_universes/nifty50.json +260 -0
  22. while25/_universes/nifty500.json +2505 -0
  23. while25/_universes/sp500.json +2525 -0
  24. while25/assume.py +263 -0
  25. while25/backtest.py +881 -0
  26. while25/barline.py +160 -0
  27. while25/combo_legs.py +238 -0
  28. while25/errors.py +77 -0
  29. while25/fonts/IBMPlexMono-Regular.ttf +0 -0
  30. while25/fonts/IBMPlexMono-SemiBold.ttf +0 -0
  31. while25/fonts/Inter-Bold.ttf +0 -0
  32. while25/fonts/Inter-Regular.ttf +0 -0
  33. while25/fonts/Inter-SemiBold.ttf +0 -0
  34. while25/fonts/OFL-IBMPlexMono.txt +93 -0
  35. while25/fonts/OFL-Inter.txt +93 -0
  36. while25/future_pick.py +77 -0
  37. while25/inputs.py +215 -0
  38. while25/instruments.py +488 -0
  39. while25/modules.py +397 -0
  40. while25/money.py +24 -0
  41. while25/option_pick.py +221 -0
  42. while25/plots.py +147 -0
  43. while25/report.py +644 -0
  44. while25/ui.py +680 -0
  45. while25/universes.py +70 -0
  46. while25-0.1.0.dist-info/METADATA +3194 -0
  47. while25-0.1.0.dist-info/RECORD +50 -0
  48. while25-0.1.0.dist-info/WHEEL +5 -0
  49. while25-0.1.0.dist-info/licenses/LICENSE +201 -0
  50. while25-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,352 @@
1
+ [
2
+ {
3
+ "_doc": "Statutory + exchange charges on NSE units of an equity oriented ETF (in_nse_eq's non_equity list, class equity_etf: NSE's ETF list states the underlying as EQUITY). Brokerage lives in brokers/*.json under the same class.",
4
+ "schedule": "in_nse_eq_etf",
5
+ "omitted": ["contract-note rounding"],
6
+ "country": "IN",
7
+ "segment": "EQ",
8
+ "currency": "INR",
9
+ "broker": null,
10
+ "exchanges": ["NSE"],
11
+ "classes": ["equity_etf"],
12
+ "rate_sets": [
13
+ {
14
+ "effective_from": "2024-10-01",
15
+ "source": "NSE transaction charges: NSE/FA/64232 (2024-09-27), Cash Market Rs 2.97 each side per lakh of traded value w.e.f. 2024-10-01, uniform per SEBI/HO/MRD/TPD-1/P/CIR/2024/92 (https://nsearchives.nseindia.com/content/circulars/FA64232.pdf); IPFT Rs 10/crore per NSE/FA/56129 (https://nsearchives.nseindia.com/content/circulars/FA56129.pdf), restated as the existing outflow in NSE/FA/73061 (https://nsearchives.nseindia.com/content/circulars/FA73061.pdf); ETF units trade in NSE's Cash Market segment (NSE ETF security list, https://nsearchives.nseindia.com/content/equities/eq_etfseclist.csv), so the Cash Market rate applies; a broker's ETF note states the same rate for an ETF (https://support.zerodha.com/category/account-opening/charges-at-zerodha/articles/what-are-the-charges-for-trading-in-liquidbees) ; STT on a unit of an equity oriented fund: purchase NIL; sale settled by delivery 0.001 per cent (seller); sale settled otherwise 0.025 per cent (seller): Finance (No. 2) Act 2004 s.98 table rows 2A and 3, per NSE/FATAX/63809 (2024-09-09, https://nsearchives.nseindia.com/content/circulars/FATAX63809.pdf), purchase NIL per https://www.nseindia.com/static/invest/first-time-investor-sebi-turnover-fees-stt-other-levies ; SEBI turnover fee: Rs 10/crore on securities other than debt securities (NSE, https://www.nseindia.com/static/invest/first-time-investor-sebi-turnover-fees-stt-other-levies) ; stamp duty: Indian Stamp Act 1899 Sch. I as amended by Finance Act 2019, w.e.f. 2020-07-01: transfer of a security other than a debenture, 0.015% on delivery and 0.003% non-delivery, buyer (https://www.nseindia.com/static/invest/first-time-investor-stamp-duty-charges-taxes) ; GST 18% (9% CGST + 9% SGST) on financial services, SAC 9971 (CBIC Notification 11/2017-Central Tax (Rate)); levied on exchange txn + SEBI fee + IPFT (https://www.nseindia.com/static/invest/first-time-investor-sebi-turnover-fees-stt-other-levies)",
16
+ "charges": [
17
+ {
18
+ "name": "stt",
19
+ "basis": "turnover",
20
+ "side": "sell",
21
+ "product": "delivery",
22
+ "rate": 0.00001,
23
+ "min": null,
24
+ "max": null,
25
+ "on": null
26
+ },
27
+ {
28
+ "name": "stt",
29
+ "basis": "turnover",
30
+ "side": "sell",
31
+ "product": "intraday",
32
+ "rate": 0.00025,
33
+ "min": null,
34
+ "max": null,
35
+ "on": null
36
+ },
37
+ {
38
+ "name": "exchange_txn",
39
+ "basis": "turnover",
40
+ "side": "both",
41
+ "product": "any",
42
+ "rate": 0.0000297,
43
+ "min": null,
44
+ "max": null,
45
+ "on": null
46
+ },
47
+ {
48
+ "name": "ipft",
49
+ "basis": "turnover",
50
+ "side": "both",
51
+ "product": "any",
52
+ "rate": 0.000001,
53
+ "min": null,
54
+ "max": null,
55
+ "on": null
56
+ },
57
+ {
58
+ "name": "sebi_fee",
59
+ "basis": "turnover",
60
+ "side": "both",
61
+ "product": "any",
62
+ "rate": 0.000001,
63
+ "min": null,
64
+ "max": null,
65
+ "on": null
66
+ },
67
+ {
68
+ "name": "stamp_duty",
69
+ "basis": "turnover",
70
+ "side": "buy",
71
+ "product": "delivery",
72
+ "rate": 0.00015,
73
+ "min": null,
74
+ "max": null,
75
+ "on": null
76
+ },
77
+ {
78
+ "name": "stamp_duty",
79
+ "basis": "turnover",
80
+ "side": "buy",
81
+ "product": "intraday",
82
+ "rate": 0.00003,
83
+ "min": null,
84
+ "max": null,
85
+ "on": null
86
+ },
87
+ {
88
+ "name": "gst",
89
+ "basis": "tax",
90
+ "side": "both",
91
+ "product": "any",
92
+ "rate": 0.18,
93
+ "min": null,
94
+ "max": null,
95
+ "on": ["exchange_txn", "ipft", "sebi_fee"]
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ "effective_from": "2026-03-01",
101
+ "source": "NSE transaction charges + IPFT: NSE/FA/73061 (2026-02-27), Cash Market Rs 306.99 + IPFT Rs 0.01 per crore each side w.e.f. 2026-03-01 (https://nsearchives.nseindia.com/content/circulars/FA73061.pdf); ETF units trade in NSE's Cash Market segment (NSE ETF security list, https://nsearchives.nseindia.com/content/equities/eq_etfseclist.csv), so the Cash Market rate applies; a broker's ETF note states the same rate for an ETF (https://support.zerodha.com/category/account-opening/charges-at-zerodha/articles/what-are-the-charges-for-trading-in-liquidbees) ; STT on a unit of an equity oriented fund: purchase NIL; sale settled by delivery 0.001 per cent (seller); sale settled otherwise 0.025 per cent (seller): Finance (No. 2) Act 2004 s.98 table rows 2A and 3, per NSE/FATAX/63809 (2024-09-09, https://nsearchives.nseindia.com/content/circulars/FATAX63809.pdf) and unchanged from 2026-04-01 in NSE/FATAX/73524 (2026-03-31, https://nsearchives.nseindia.com/content/circulars/FATAX73524.pdf), purchase NIL per https://www.nseindia.com/static/invest/first-time-investor-sebi-turnover-fees-stt-other-levies ; SEBI turnover fee: Rs 10/crore on securities other than debt securities (NSE, https://www.nseindia.com/static/invest/first-time-investor-sebi-turnover-fees-stt-other-levies) ; stamp duty: Indian Stamp Act 1899 Sch. I as amended by Finance Act 2019, w.e.f. 2020-07-01: transfer of a security other than a debenture, 0.015% on delivery and 0.003% non-delivery, buyer (https://www.nseindia.com/static/invest/first-time-investor-stamp-duty-charges-taxes) ; GST 18% (9% CGST + 9% SGST) on financial services, SAC 9971 (CBIC Notification 11/2017-Central Tax (Rate)); levied on exchange txn + SEBI fee + IPFT (https://www.nseindia.com/static/invest/first-time-investor-sebi-turnover-fees-stt-other-levies)",
102
+ "charges": [
103
+ {
104
+ "name": "stt",
105
+ "basis": "turnover",
106
+ "side": "sell",
107
+ "product": "delivery",
108
+ "rate": 0.00001,
109
+ "min": null,
110
+ "max": null,
111
+ "on": null
112
+ },
113
+ {
114
+ "name": "stt",
115
+ "basis": "turnover",
116
+ "side": "sell",
117
+ "product": "intraday",
118
+ "rate": 0.00025,
119
+ "min": null,
120
+ "max": null,
121
+ "on": null
122
+ },
123
+ {
124
+ "name": "exchange_txn",
125
+ "basis": "turnover",
126
+ "side": "both",
127
+ "product": "any",
128
+ "rate": 0.000030699,
129
+ "min": null,
130
+ "max": null,
131
+ "on": null
132
+ },
133
+ {
134
+ "name": "ipft",
135
+ "basis": "turnover",
136
+ "side": "both",
137
+ "product": "any",
138
+ "rate": 0.000000001,
139
+ "min": null,
140
+ "max": null,
141
+ "on": null
142
+ },
143
+ {
144
+ "name": "sebi_fee",
145
+ "basis": "turnover",
146
+ "side": "both",
147
+ "product": "any",
148
+ "rate": 0.000001,
149
+ "min": null,
150
+ "max": null,
151
+ "on": null
152
+ },
153
+ {
154
+ "name": "stamp_duty",
155
+ "basis": "turnover",
156
+ "side": "buy",
157
+ "product": "delivery",
158
+ "rate": 0.00015,
159
+ "min": null,
160
+ "max": null,
161
+ "on": null
162
+ },
163
+ {
164
+ "name": "stamp_duty",
165
+ "basis": "turnover",
166
+ "side": "buy",
167
+ "product": "intraday",
168
+ "rate": 0.00003,
169
+ "min": null,
170
+ "max": null,
171
+ "on": null
172
+ },
173
+ {
174
+ "name": "gst",
175
+ "basis": "tax",
176
+ "side": "both",
177
+ "product": "any",
178
+ "rate": 0.18,
179
+ "min": null,
180
+ "max": null,
181
+ "on": ["exchange_txn", "ipft", "sebi_fee"]
182
+ }
183
+ ]
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "_doc": "Statutory + exchange charges on NSE units of a gold, silver or debt ETF (in_nse_eq's non_equity list, class other_etf: NSE's ETF list states the underlying as COMMODITY or DEBT). No STT. Brokerage lives in brokers/*.json under the same class.",
189
+ "schedule": "in_nse_other_etf",
190
+ "omitted": ["contract-note rounding"],
191
+ "country": "IN",
192
+ "segment": "EQ",
193
+ "currency": "INR",
194
+ "broker": null,
195
+ "exchanges": ["NSE"],
196
+ "classes": ["other_etf"],
197
+ "rate_sets": [
198
+ {
199
+ "effective_from": "2024-10-01",
200
+ "source": "NSE transaction charges: NSE/FA/64232 (2024-09-27), Cash Market Rs 2.97 each side per lakh of traded value w.e.f. 2024-10-01, uniform per SEBI/HO/MRD/TPD-1/P/CIR/2024/92 (https://nsearchives.nseindia.com/content/circulars/FA64232.pdf); IPFT Rs 10/crore per NSE/FA/56129 (https://nsearchives.nseindia.com/content/circulars/FA56129.pdf), restated as the existing outflow in NSE/FA/73061 (https://nsearchives.nseindia.com/content/circulars/FA73061.pdf); ETF units trade in NSE's Cash Market segment (NSE ETF security list, https://nsearchives.nseindia.com/content/equities/eq_etfseclist.csv), so the Cash Market rate applies; a broker's ETF note states the same rate for an ETF (https://support.zerodha.com/category/account-opening/charges-at-zerodha/articles/what-are-the-charges-for-trading-in-liquidbees) ; STT: none. The taxable securities transactions are equity shares, units of an equity oriented fund or business trust, and derivatives (Finance (No. 2) Act 2004 s.98 table, per NSE/FATAX/63809, https://nsearchives.nseindia.com/content/circulars/FATAX63809.pdf); a gold, silver or debt ETF unit is none of these (equity oriented fund: s.97(5) -> Income-tax Act 1961 s.112A Explanation (a), at least 65% in listed domestic equity shares) ; SEBI turnover fee: Rs 10/crore on securities other than debt securities (NSE, https://www.nseindia.com/static/invest/first-time-investor-sebi-turnover-fees-stt-other-levies) ; stamp duty: Indian Stamp Act 1899 Sch. I as amended by Finance Act 2019, w.e.f. 2020-07-01: transfer of a security other than a debenture, 0.015% on delivery and 0.003% non-delivery, buyer (https://www.nseindia.com/static/invest/first-time-investor-stamp-duty-charges-taxes) ; GST 18% (9% CGST + 9% SGST) on financial services, SAC 9971 (CBIC Notification 11/2017-Central Tax (Rate)); levied on exchange txn + SEBI fee + IPFT (https://www.nseindia.com/static/invest/first-time-investor-sebi-turnover-fees-stt-other-levies)",
201
+ "charges": [
202
+ {
203
+ "name": "stt",
204
+ "basis": "turnover",
205
+ "side": "both",
206
+ "product": "any",
207
+ "rate": 0,
208
+ "min": null,
209
+ "max": null,
210
+ "on": null
211
+ },
212
+ {
213
+ "name": "exchange_txn",
214
+ "basis": "turnover",
215
+ "side": "both",
216
+ "product": "any",
217
+ "rate": 0.0000297,
218
+ "min": null,
219
+ "max": null,
220
+ "on": null
221
+ },
222
+ {
223
+ "name": "ipft",
224
+ "basis": "turnover",
225
+ "side": "both",
226
+ "product": "any",
227
+ "rate": 0.000001,
228
+ "min": null,
229
+ "max": null,
230
+ "on": null
231
+ },
232
+ {
233
+ "name": "sebi_fee",
234
+ "basis": "turnover",
235
+ "side": "both",
236
+ "product": "any",
237
+ "rate": 0.000001,
238
+ "min": null,
239
+ "max": null,
240
+ "on": null
241
+ },
242
+ {
243
+ "name": "stamp_duty",
244
+ "basis": "turnover",
245
+ "side": "buy",
246
+ "product": "delivery",
247
+ "rate": 0.00015,
248
+ "min": null,
249
+ "max": null,
250
+ "on": null
251
+ },
252
+ {
253
+ "name": "stamp_duty",
254
+ "basis": "turnover",
255
+ "side": "buy",
256
+ "product": "intraday",
257
+ "rate": 0.00003,
258
+ "min": null,
259
+ "max": null,
260
+ "on": null
261
+ },
262
+ {
263
+ "name": "gst",
264
+ "basis": "tax",
265
+ "side": "both",
266
+ "product": "any",
267
+ "rate": 0.18,
268
+ "min": null,
269
+ "max": null,
270
+ "on": ["exchange_txn", "ipft", "sebi_fee"]
271
+ }
272
+ ]
273
+ },
274
+ {
275
+ "effective_from": "2026-03-01",
276
+ "source": "NSE transaction charges + IPFT: NSE/FA/73061 (2026-02-27), Cash Market Rs 306.99 + IPFT Rs 0.01 per crore each side w.e.f. 2026-03-01 (https://nsearchives.nseindia.com/content/circulars/FA73061.pdf); ETF units trade in NSE's Cash Market segment (NSE ETF security list, https://nsearchives.nseindia.com/content/equities/eq_etfseclist.csv), so the Cash Market rate applies; a broker's ETF note states the same rate for an ETF (https://support.zerodha.com/category/account-opening/charges-at-zerodha/articles/what-are-the-charges-for-trading-in-liquidbees) ; STT: none. The taxable securities transactions are equity shares, units of an equity oriented fund or business trust, and derivatives (Finance (No. 2) Act 2004 s.98 table, per NSE/FATAX/63809, https://nsearchives.nseindia.com/content/circulars/FATAX63809.pdf and unchanged from 2026-04-01 in NSE/FATAX/73524 (2026-03-31, https://nsearchives.nseindia.com/content/circulars/FATAX73524.pdf)); a gold, silver or debt ETF unit is none of these (equity oriented fund: s.97(5) -> Income-tax Act 1961 s.112A Explanation (a), at least 65% in listed domestic equity shares) ; SEBI turnover fee: Rs 10/crore on securities other than debt securities (NSE, https://www.nseindia.com/static/invest/first-time-investor-sebi-turnover-fees-stt-other-levies) ; stamp duty: Indian Stamp Act 1899 Sch. I as amended by Finance Act 2019, w.e.f. 2020-07-01: transfer of a security other than a debenture, 0.015% on delivery and 0.003% non-delivery, buyer (https://www.nseindia.com/static/invest/first-time-investor-stamp-duty-charges-taxes) ; GST 18% (9% CGST + 9% SGST) on financial services, SAC 9971 (CBIC Notification 11/2017-Central Tax (Rate)); levied on exchange txn + SEBI fee + IPFT (https://www.nseindia.com/static/invest/first-time-investor-sebi-turnover-fees-stt-other-levies)",
277
+ "charges": [
278
+ {
279
+ "name": "stt",
280
+ "basis": "turnover",
281
+ "side": "both",
282
+ "product": "any",
283
+ "rate": 0,
284
+ "min": null,
285
+ "max": null,
286
+ "on": null
287
+ },
288
+ {
289
+ "name": "exchange_txn",
290
+ "basis": "turnover",
291
+ "side": "both",
292
+ "product": "any",
293
+ "rate": 0.000030699,
294
+ "min": null,
295
+ "max": null,
296
+ "on": null
297
+ },
298
+ {
299
+ "name": "ipft",
300
+ "basis": "turnover",
301
+ "side": "both",
302
+ "product": "any",
303
+ "rate": 0.000000001,
304
+ "min": null,
305
+ "max": null,
306
+ "on": null
307
+ },
308
+ {
309
+ "name": "sebi_fee",
310
+ "basis": "turnover",
311
+ "side": "both",
312
+ "product": "any",
313
+ "rate": 0.000001,
314
+ "min": null,
315
+ "max": null,
316
+ "on": null
317
+ },
318
+ {
319
+ "name": "stamp_duty",
320
+ "basis": "turnover",
321
+ "side": "buy",
322
+ "product": "delivery",
323
+ "rate": 0.00015,
324
+ "min": null,
325
+ "max": null,
326
+ "on": null
327
+ },
328
+ {
329
+ "name": "stamp_duty",
330
+ "basis": "turnover",
331
+ "side": "buy",
332
+ "product": "intraday",
333
+ "rate": 0.00003,
334
+ "min": null,
335
+ "max": null,
336
+ "on": null
337
+ },
338
+ {
339
+ "name": "gst",
340
+ "basis": "tax",
341
+ "side": "both",
342
+ "product": "any",
343
+ "rate": 0.18,
344
+ "min": null,
345
+ "max": null,
346
+ "on": ["exchange_txn", "ipft", "sebi_fee"]
347
+ }
348
+ ]
349
+ }
350
+ ]
351
+ }
352
+ ]