feat: 新增利率收益率 债券指数小数点精度配置
This commit is contained in:
@@ -41,6 +41,8 @@ window.main.swapPricePrecision = {
|
||||
ExRate: { integerDigits: 2, precision: 8 },
|
||||
Shibor: { integerDigits: 2, precision: 4 },
|
||||
FixingRepoRate: { integerDigits: 2, precision: 4 },
|
||||
RateYield: {integerDigits: 6, precision: 8},
|
||||
BondIndex: {integerDigits: 6, precision: 4},
|
||||
|
||||
// TODO: 利率收益率(6+8)、债券指数(6+4)、黄金期货(6+4)待对应的 UnderlyingInstrumentType 枚举确认后启用。
|
||||
};
|
||||
|
||||
@@ -39,7 +39,9 @@ var swapPricePrecision = (function (global) {
|
||||
AbroadStockIndex: { integerDigits: 8, precision: 4 },
|
||||
ExRate: { integerDigits: 2, precision: 8 },
|
||||
Shibor: { integerDigits: 2, precision: 4 },
|
||||
FixingRepoRate: { integerDigits: 2, precision: 4 }
|
||||
FixingRepoRate: { integerDigits: 2, precision: 4 },
|
||||
RateYield: {integerDigits: 6, precision: 8},
|
||||
BondIndex: {integerDigits: 6, precision: 4},
|
||||
// TODO: Add InterestYield, BondIndex and GoldFutures after their enum values are confirmed.
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user