#EQD-5914 国联民生-债券ETF为标的的TRS业务支持

This commit is contained in:
吴方海
2026-05-19 13:45:18 +08:00
parent 68c9f85bcb
commit e3b11e7f5b
4 changed files with 17 additions and 11 deletions
@@ -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("适当性评估已经过期,只有在适当性有效期内才可以新开仓");