from wallet_variants import *
T3=PA.Tier(3000,38,51); G0=PA.cost_share(34.791728647093755)+0.004783927673690548; RF=0.01575
for q in (0.0,0.0056,0.0150):
    w,ru,pu=wallet_var(T3,0.03,G0*0.03,0.7,0.8,1000,horizon_days=541,n=5000,seed=13,funded_risk=RF,funded_cost=G0*RF,wait=7,qkill=q)
    m,se=glog(w,1000); print(f"strict-daily kill q={q:.4f} per stop-out: e_log_growth(80%) {m:+.4f} (SE {se:.4f}) ruin {ru.mean():.2%}")
