#EQD-6669 国联民生-期权希腊值计算步长和细节调整(定价引擎部分)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using BaseOUDAL;
|
||||
using BaseOUDAL;
|
||||
using YLErp.BLL;
|
||||
using YLErp.Configuration;
|
||||
using YLErp.Configuration.Enums;
|
||||
@@ -993,10 +993,10 @@ namespace YLErp.Modules.TradeModule.OrderModule
|
||||
throw new ServiceException($"客户'{client.Name}'为非高风险客户,没有卖出权限");
|
||||
}
|
||||
|
||||
if (_underlying != null && _underlying.CalcTypeIsStock() && ((client.TradingInstType & TradingInstTypeEnum.Equity) != TradingInstTypeEnum.Equity))
|
||||
{
|
||||
throw new ServiceException($"客户'{client.Name}'的'交易资产'属性不包括'权益',不能进行权益类的期权交易");
|
||||
}
|
||||
//if (_underlying != null && _underlying.CalcTypeIsStock() && ((client.TradingInstType & TradingInstTypeEnum.Equity) != TradingInstTypeEnum.Equity))
|
||||
//{
|
||||
// throw new ServiceException($"客户'{client.Name}'的'交易资产'属性不包括'权益',不能进行权益类的期权交易");
|
||||
//}
|
||||
|
||||
if (PS.Config.ErpElement.SecuritiesEnvironment)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user