更新 app/utils/calculation_engine/formula_registry.py

This commit is contained in:
dubingyan666 2025-11-26 20:46:47 +08:00
parent f6a84442d1
commit 3328439241

View File

@ -44,12 +44,12 @@ def _node(
FORMULA_TREE: List[FormulaTreeNode] = [
_node(
"FINAL_A",
"最终估值A",
"最终估值A = 模型估值B × 0.7 + 市场估值C × 0.3",
"10",
children=[
_node(
"FINAL_A",
"最终估值A",
"最终估值A = 模型估值B × 0.7 + 市场估值C × 0.3",
"10",
children=[
_node(
"MODEL_B",
"模型估值B",
@ -224,6 +224,13 @@ FORMULA_TREE: List[FormulaTreeNode] = [
),
],
),
_node(
"DYNAMIC_PLEDGE_RATE",
"动态质押率DPR",
"动态质押率DPR = 基础质押率 × (1 + 流量修正系数) + 政策加成系数 - 流动性调节因子",
"40",
group="DYNAMIC_PLEDGE",
),
],
)
]