Riy777 commited on
Commit
6c39cb4
·
verified ·
1 Parent(s): fe86b15

Update backtest_engine.py

Browse files
Files changed (1) hide show
  1. backtest_engine.py +1 -0
backtest_engine.py CHANGED
@@ -375,6 +375,7 @@ async def run_strategic_optimization_task():
375
  print(f"💉 Injecting DNA into {target_regime}...")
376
  st = hub.strategies[target_regime]
377
  st.model_weights['titan'] = best_config['w_titan']
 
378
  st.filters['l1_min_score'] = best_config['thresh']
379
 
380
  await hub._save_state_to_r2()
 
375
  print(f"💉 Injecting DNA into {target_regime}...")
376
  st = hub.strategies[target_regime]
377
  st.model_weights['titan'] = best_config['w_titan']
378
+ st.model_weights['structure'] = best_config['w_struct']
379
  st.filters['l1_min_score'] = best_config['thresh']
380
 
381
  await hub._save_state_to_r2()