diff --git a/app/utils/calculation_engine/formula_registry.py b/app/utils/calculation_engine/formula_registry.py index 004bb14..e216ca2 100644 --- a/app/utils/calculation_engine/formula_registry.py +++ b/app/utils/calculation_engine/formula_registry.py @@ -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", + ), ], ) ]