Tuning: gas market blind weight 0.15 (financial review)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6b7919c476
commit
f2ee57c89a
3 files changed
+8
-2
No files matched your search
@@ -127,9 +127,9 @@ namespace Decentralized
|
||||
return list;
|
||||
}
|
||||
|
||||
/// <summary>gas 盘的公开价:一半按真实相位、一半按不知道相位——七天周期是链上公开的,但盘口里的 NPC 只有一半在看;自己数清周期的人还有一点优势。</summary>
|
||||
/// <summary>gas 盘的公开价:绝大部分按真实相位、小部分按不知道相位(PredictGasBlind)——七天周期是链上公开的,盘口里的 NPC 多数看得见;数清周期的人只剩一点优势。</summary>
|
||||
private static double GasPublic(SaveData d, int day, double thr) =>
|
||||
d.GasPhase < 0 ? PredictMath.GasFlat(day, thr) : 0.5 * PredictMath.GasAtLeast(day, d.GasPhase, thr) + 0.5 * PredictMath.GasFlat(day, thr);
|
||||
d.GasPhase < 0 ? PredictMath.GasFlat(day, thr) : (1 - Tuning.PredictGasBlind) * PredictMath.GasAtLeast(day, d.GasPhase, thr) + Tuning.PredictGasBlind * PredictMath.GasFlat(day, thr);
|
||||
|
||||
private static double CraHazard => 1 - Math.Pow(1 - Tuning.CraSpiralWeekly, 1.0 / 7);
|
||||
private static double CraDrain(SaveData d) => (Tuning.CraNpcStake + d.Staking.Earning) * d.Stable.CraRate;
|
||||
|
||||
Reference in new issue
Block a user