voly 0.0.224__py3-none-any.whl → 0.0.225__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.
- voly/core/hd.py +1 -1
- {voly-0.0.224.dist-info → voly-0.0.225.dist-info}/METADATA +1 -1
- {voly-0.0.224.dist-info → voly-0.0.225.dist-info}/RECORD +6 -6
- {voly-0.0.224.dist-info → voly-0.0.225.dist-info}/WHEEL +0 -0
- {voly-0.0.224.dist-info → voly-0.0.225.dist-info}/licenses/LICENSE +0 -0
- {voly-0.0.224.dist-info → voly-0.0.225.dist-info}/top_level.txt +0 -0
voly/core/hd.py
CHANGED
@@ -264,7 +264,7 @@ def calculate_kde_hd(df_hist: pd.DataFrame,
|
|
264
264
|
# Get scaled returns
|
265
265
|
scaled_returns, dte_returns = calculate_historical_returns(df_hist, n_periods)
|
266
266
|
#vol = np.sqrt(scaled_returns.std())
|
267
|
-
scaled_returns = scaled_returns /
|
267
|
+
scaled_returns = scaled_returns / t
|
268
268
|
|
269
269
|
# Fit KDE model using scipy's gaussian_kde with Scott's rule for bandwidth
|
270
270
|
kde = stats.gaussian_kde(scaled_returns, bw_method='scott')
|
@@ -7,14 +7,14 @@ voly/core/__init__.py,sha256=bu6fS2I1Pj9fPPnl-zY3L7NqrZSY5Zy6NY2uMUvdhKs,183
|
|
7
7
|
voly/core/charts.py,sha256=2S-BfCo30aj1_xlNLqF-za5rQWxF_mWKIdtdOe5bgbw,12735
|
8
8
|
voly/core/data.py,sha256=SNF87C7-r-1IbKwf7rAhXkJ6X305yo7fCDJDdkwz3NM,14103
|
9
9
|
voly/core/fit.py,sha256=bVyx7qMgFFpTUjgoCUs58ppmeNN2CORnqPKbGUpV9xw,14081
|
10
|
-
voly/core/hd.py,sha256=
|
10
|
+
voly/core/hd.py,sha256=JD5P9zxbOM5TYsLKgTuI9DDoU3JUAgvak4Yh3RsG7CQ,13553
|
11
11
|
voly/core/interpolate.py,sha256=-cNChFpuLnCSMOmfW2ldXxePgQXi-pxcjJvF2yImD1w,5222
|
12
12
|
voly/core/rnd.py,sha256=wiZ5OIjPDf1Th5_sQ9CZG5JgAo3EL8f63T_Rj1_VP-0,13214
|
13
13
|
voly/utils/__init__.py,sha256=E05mWatyC-PDOsCxQV1p5Xi1IgpOomxrNURyCx_gB-w,200
|
14
14
|
voly/utils/density.py,sha256=ONpRli-IaJDgOZ2sb27HHFc9_tkkGSATKl94JODd86A,5879
|
15
15
|
voly/utils/logger.py,sha256=4-_2bVJmq17Q0d7Rd2mPg1AeR8gxv6EPvcmBDMFWcSM,1744
|
16
|
-
voly-0.0.
|
17
|
-
voly-0.0.
|
18
|
-
voly-0.0.
|
19
|
-
voly-0.0.
|
20
|
-
voly-0.0.
|
16
|
+
voly-0.0.225.dist-info/licenses/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
|
17
|
+
voly-0.0.225.dist-info/METADATA,sha256=ZH3OeY69EA4xOU-en_nLtfBd8buKsG-wwKUYZL2cuYQ,4115
|
18
|
+
voly-0.0.225.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
19
|
+
voly-0.0.225.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
|
20
|
+
voly-0.0.225.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|