proof-of-portfolio 0.0.95__py3-none-any.whl → 0.0.97__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.97"
@@ -12,7 +12,7 @@ pub global MERKLE_DEPTH: u32 = 8;
12
12
  pub global DAILY_CHECKPOINTS: u32 = 2;
13
13
  pub global SECONDS_PER_DAY: u64 = 86400;
14
14
 
15
- pub global SCALE: i64 = 1_000_000_000;
15
+ pub global SCALE: i64 = 100_000_000;
16
16
 
17
17
  // Date and time constants
18
18
  pub global DAYS_IN_YEAR: i64 = 365;