voly 0.0.167__py3-none-any.whl → 0.0.168__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/data.py CHANGED
@@ -259,7 +259,7 @@ def process_order_book_depth(option_chain, max_depth=5):
259
259
  s = row['underlying_price']
260
260
  k = row['strikes']
261
261
  t = row['t']
262
- r = row['r'] if 'r' in row else 0.0
262
+ r = row['interest_rate'] if 'interest_rate' in row else 0.0
263
263
  option_type = 'C' if row['option_type'] == 'call' else 'P'
264
264
 
265
265
  # Process bid side
voly/core/fit.py CHANGED
@@ -158,7 +158,7 @@ def fit_model(option_chain: pd.DataFrame,
158
158
  butterfly_arbitrage_free = False
159
159
  break
160
160
 
161
- r = maturity_data['r'].iloc[0] if 'r' in maturity_data.columns else 0
161
+ r = maturity_data['interest_rate'].iloc[0] if 'interest_rate' in maturity_data.columns else 0
162
162
 
163
163
  # Store values in the results dictionary with proper types
164
164
  results_data['s'].append(float(s))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: voly
3
- Version: 0.0.167
3
+ Version: 0.0.168
4
4
  Summary: Options & volatility research package
5
5
  Author-email: Manu de Cara <manu.de.cara@gmail.com>
6
6
  License: MIT
@@ -5,16 +5,16 @@ voly/formulas.py,sha256=eDPw32xa3dwCIrE-zeZzznfGaplGFoVcA167uQngZ70,11209
5
5
  voly/models.py,sha256=f97VvGwzpzSXuDtXqdjSHL1RbzOaYajXc9cRH8WbXtk,7968
6
6
  voly/core/__init__.py,sha256=bu6fS2I1Pj9fPPnl-zY3L7NqrZSY5Zy6NY2uMUvdhKs,183
7
7
  voly/core/charts.py,sha256=2S-BfCo30aj1_xlNLqF-za5rQWxF_mWKIdtdOe5bgbw,12735
8
- voly/core/data.py,sha256=bCx_AkU0L5hCxHMIJLOU921uppS9aHnzLRN-jfc8M5c,13626
9
- voly/core/fit.py,sha256=MSAjySs58J4NUMH-ZoQNcBhtGRbBeHeh7fPwThmJH9E,17679
8
+ voly/core/data.py,sha256=9v9iuE2XdIIlzoRAB7q1ol7YghBzBsPGAiwZ11oDuis,13650
9
+ voly/core/fit.py,sha256=qwJha1Ks-aVybVxSLA6iK2YcJ2_yF3_e96mU2Q6abUQ,17703
10
10
  voly/core/hd.py,sha256=UFAyLncNUHivpPAcko6IK1bC55mudVtdlRFfXp63HXE,14771
11
11
  voly/core/interpolate.py,sha256=JkK172-FXyhesW3hY4pEeuJWG3Bugq7QZXbeKoRpLuo,5305
12
12
  voly/core/rnd.py,sha256=GoC3m1Q46Wnk5tV_mstr-3_aktHeue6BBLh4DQTciW0,13307
13
13
  voly/utils/__init__.py,sha256=E05mWatyC-PDOsCxQV1p5Xi1IgpOomxrNURyCx_gB-w,200
14
14
  voly/utils/density.py,sha256=q0fX4im9TGwMCZ32Hzdv8CNh56KnJo8bmG5w0gVWZH8,5879
15
15
  voly/utils/logger.py,sha256=4-_2bVJmq17Q0d7Rd2mPg1AeR8gxv6EPvcmBDMFWcSM,1744
16
- voly-0.0.167.dist-info/licenses/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
17
- voly-0.0.167.dist-info/METADATA,sha256=x0agIivlVt6vgNnXaLI75xGKospNAUC7zAEuuL5kp5A,4115
18
- voly-0.0.167.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
19
- voly-0.0.167.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
20
- voly-0.0.167.dist-info/RECORD,,
16
+ voly-0.0.168.dist-info/licenses/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
17
+ voly-0.0.168.dist-info/METADATA,sha256=OU3Zv1OJ2JfYjlUr5HHX3Tbh3MLmeMIyQup_AOee8p4,4115
18
+ voly-0.0.168.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
19
+ voly-0.0.168.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
20
+ voly-0.0.168.dist-info/RECORD,,
File without changes