增加vega(1bp)希腊值

This commit is contained in:
尹峰
2026-08-20 14:15:12 +08:00
parent 30b3007307
commit 5ee510aa35
11 changed files with 110 additions and 18 deletions
@@ -559,6 +559,15 @@ function getColModelGrid() {
sortIndex: i++,
formatter: greeksFormat,
sortable: false
}, {
name: 'Vega_1bp',
label: 'Vega(1bp)',
index: 'Vega_1bp',
width: 100,
align: 'center',
sortIndex: i++,
formatter: greeksFormat,
sortable: false
},);
}
@@ -664,7 +673,7 @@ function TradeAmountFormat(cellValue, options, rowObject) {
}
function greeksFormat(cellValue, options, rowObject) {
if (cellValue) {
if (cellValue != null) {
return otcformat.trading.greek(cellValue);
}
return "";