#EQD-5914 国联民生-债券ETF为标的的TRS业务支持
This commit is contained in:
@@ -771,10 +771,6 @@ namespace YLErp.Modules.SwapModule
|
||||
{
|
||||
var client = PrepareBaseTradeClient(req);
|
||||
|
||||
if (req.StructureType != ClientMarginTypeEnum.多空组合.ToString() && _underlying.CalcTypeIsStock() && ((client.TradingInstType & TradingInstTypeEnum.Equity) != TradingInstTypeEnum.Equity))
|
||||
{
|
||||
throw new ServiceException($"客户'{client.Name}'的'交易资产'属性不包括'权益',不能进行收益互换交易");
|
||||
}
|
||||
if (client.EvaluateExpireDate < req.TradeDate)
|
||||
{
|
||||
throw new ServiceException("适当性评估已经过期,只有在适当性有效期内才可以新开仓");
|
||||
|
||||
Reference in New Issue
Block a user