增加vega(1bp)希腊值
This commit is contained in:
@@ -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 "";
|
||||
|
||||
Reference in New Issue
Block a user