proof-of-portfolio 0.0.95__py3-none-any.whl → 0.0.96__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.
@@ -54,9 +54,21 @@ def requires_dependencies(func):
54
54
 
55
55
  def _prove_worker(
56
56
  miner_data,
57
- hotkey,
57
+ daily_pnl=None,
58
+ hotkey=None,
58
59
  verbose=False,
59
60
  annual_risk_free_percentage=4.19,
61
+ calmar_ratio_cap=10,
62
+ days_in_year_crypto=365,
63
+ weighted_average_decay_max=1.0,
64
+ weighted_average_decay_min=0.15,
65
+ weighted_average_decay_rate=0.075,
66
+ omega_loss_minimum=0.01,
67
+ sharpe_stddev_minimum=0.01,
68
+ sortino_downside_minimum=0.01,
69
+ statistical_confidence_minimum_n_ceil=60,
70
+ annual_risk_free_decimal=0.0419,
71
+ drawdown_maxvalue_percentage=10,
60
72
  use_weighting=False,
61
73
  bypass_confidence=False,
62
74
  daily_checkpoints=2,
@@ -69,10 +81,22 @@ def _prove_worker(
69
81
  from .proof_generator import generate_proof
70
82
 
71
83
  result = generate_proof(
72
- miner_data,
73
- hotkey,
84
+ data=miner_data,
85
+ daily_pnl=daily_pnl,
86
+ miner_hotkey=hotkey,
74
87
  verbose=verbose,
75
88
  annual_risk_free_percentage=annual_risk_free_percentage,
89
+ calmar_ratio_cap=calmar_ratio_cap,
90
+ days_in_year_crypto=days_in_year_crypto,
91
+ weighted_average_decay_max=weighted_average_decay_max,
92
+ weighted_average_decay_min=weighted_average_decay_min,
93
+ weighted_average_decay_rate=weighted_average_decay_rate,
94
+ omega_loss_minimum=omega_loss_minimum,
95
+ sharpe_stddev_minimum=sharpe_stddev_minimum,
96
+ sortino_downside_minimum=sortino_downside_minimum,
97
+ statistical_confidence_minimum_n_ceil=statistical_confidence_minimum_n_ceil,
98
+ annual_risk_free_decimal=annual_risk_free_decimal,
99
+ drawdown_maxvalue_percentage=drawdown_maxvalue_percentage,
76
100
  use_weighting=use_weighting,
77
101
  bypass_confidence=bypass_confidence,
78
102
  daily_checkpoints=daily_checkpoints,
@@ -151,9 +175,21 @@ async def prove(
151
175
 
152
176
  def prove_sync(
153
177
  miner_data,
154
- hotkey,
178
+ daily_pnl=None,
179
+ hotkey=None,
155
180
  verbose=False,
156
181
  annual_risk_free_percentage=4.19,
182
+ calmar_ratio_cap=10,
183
+ days_in_year_crypto=365,
184
+ weighted_average_decay_max=1.0,
185
+ weighted_average_decay_min=0.15,
186
+ weighted_average_decay_rate=0.075,
187
+ omega_loss_minimum=0.01,
188
+ sharpe_stddev_minimum=0.01,
189
+ sortino_downside_minimum=0.01,
190
+ statistical_confidence_minimum_n_ceil=60,
191
+ annual_risk_free_decimal=0.0419,
192
+ drawdown_maxvalue_percentage=10,
157
193
  use_weighting=False,
158
194
  bypass_confidence=False,
159
195
  daily_checkpoints=2,
@@ -172,11 +208,23 @@ def prove_sync(
172
208
  """
173
209
  return _prove_worker(
174
210
  miner_data,
175
- hotkey,
176
- verbose,
177
- annual_risk_free_percentage,
178
- use_weighting,
179
- bypass_confidence,
180
- daily_checkpoints,
181
- account_size,
211
+ daily_pnl=daily_pnl,
212
+ hotkey=hotkey,
213
+ verbose=verbose,
214
+ annual_risk_free_percentage=annual_risk_free_percentage,
215
+ calmar_ratio_cap=calmar_ratio_cap,
216
+ days_in_year_crypto=days_in_year_crypto,
217
+ weighted_average_decay_max=weighted_average_decay_max,
218
+ weighted_average_decay_min=weighted_average_decay_min,
219
+ weighted_average_decay_rate=weighted_average_decay_rate,
220
+ omega_loss_minimum=omega_loss_minimum,
221
+ sharpe_stddev_minimum=sharpe_stddev_minimum,
222
+ sortino_downside_minimum=sortino_downside_minimum,
223
+ statistical_confidence_minimum_n_ceil=statistical_confidence_minimum_n_ceil,
224
+ annual_risk_free_decimal=annual_risk_free_decimal,
225
+ drawdown_maxvalue_percentage=drawdown_maxvalue_percentage,
226
+ use_weighting=use_weighting,
227
+ bypass_confidence=bypass_confidence,
228
+ daily_checkpoints=daily_checkpoints,
229
+ account_size=account_size,
182
230
  )
@@ -1,2 +1,2 @@
1
1
  # This file is auto-generated during build
2
- __version__ = "0.0.95"
2
+ __version__ = "0.0.96"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: proof-of-portfolio
3
- Version: 0.0.95
3
+ Version: 0.0.96
4
4
  Summary: Zero-Knowledge Proof framework for verifiable, private portfolio performance metrics
5
5
  Author-email: "Inference Labs, Inc." <info@inferencelabs.com>
6
6
  Requires-Python: >=3.10
@@ -1,5 +1,5 @@
1
- proof_of_portfolio/__init__.py,sha256=gqM3xkqAO2az6Rhgez0qIREUzZqB3DZYV4IIQHdpwMA,4845
2
- proof_of_portfolio/_version.py,sha256=uu7mWhMieLqAa9zx2AHjJPLLwaTwv_B1tiZK3yIq2oQ,66
1
+ proof_of_portfolio/__init__.py,sha256=mJ7dM5nXtvzx19SMjuBU1PyI3ZEa2CYsLO24FLjaDRQ,7195
2
+ proof_of_portfolio/_version.py,sha256=utKfDEZlb2GXHWrLXD-fMtiqFDR6AadXdowo5a_5xx4,66
3
3
  proof_of_portfolio/analyze_data.py,sha256=t80ueFtBUzcWTrPiamiC1HXvw5Em-151zXJx0cCk8sQ,3709
4
4
  proof_of_portfolio/main.py,sha256=JbvdAK7B6hw2sQdjT0EVCiglCQZgN3urKphdeWcW43w,30994
5
5
  proof_of_portfolio/min_metrics.py,sha256=U16B7YRl0UbCterdJ1ksqFOxR5DiQeslUzMVGEWNyog,13211
@@ -78,8 +78,8 @@ proof_of_portfolio/tree_generator/Nargo.toml,sha256=O6iSvb-EpV0XcETiDxNgSp7XKNiY
78
78
  proof_of_portfolio/tree_generator/target.gz,sha256=J55ZC5QuFy6vGC2dSJ-0rEWjUKzzxwXwKGDTDUGp06U,225314
79
79
  proof_of_portfolio/tree_generator/src/main.nr,sha256=5Jb46e5PyZ3kpmIJn4W1gVtN3AgHs-fCmTochVB7uOU,2427
80
80
  proof_of_portfolio/tree_generator/target/tree_generator.json,sha256=Uy9AFLrbsd2SayMFTPgmow91-BIs1DrqP3qGfxfZAa0,1540901
81
- proof_of_portfolio-0.0.95.dist-info/METADATA,sha256=3cjPlttbNFqRdcd8JXMVFR2bMwbaBTJPtIj6xPKPSuI,7076
82
- proof_of_portfolio-0.0.95.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
83
- proof_of_portfolio-0.0.95.dist-info/entry_points.txt,sha256=KeLSJT_UJtr1WiLTkhlGqWQuPKbO_ylgj6OXOC2gJV4,53
84
- proof_of_portfolio-0.0.95.dist-info/top_level.txt,sha256=sY5xZnE6YuiISK1IuRHPfl71NV0vXO3N3YA2li_SPXU,19
85
- proof_of_portfolio-0.0.95.dist-info/RECORD,,
81
+ proof_of_portfolio-0.0.96.dist-info/METADATA,sha256=YATTjrrr2Ed5_nrGXKcP4fE-yYIXHBOmyT0WqG62LKA,7076
82
+ proof_of_portfolio-0.0.96.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
83
+ proof_of_portfolio-0.0.96.dist-info/entry_points.txt,sha256=KeLSJT_UJtr1WiLTkhlGqWQuPKbO_ylgj6OXOC2gJV4,53
84
+ proof_of_portfolio-0.0.96.dist-info/top_level.txt,sha256=sY5xZnE6YuiISK1IuRHPfl71NV0vXO3N3YA2li_SPXU,19
85
+ proof_of_portfolio-0.0.96.dist-info/RECORD,,