簿记账户
@(tradeModel.AssetBookName)
交易员
@(tradeModel.TraderName)
交易对手方
@(tradeModel.ClientName)
交易编号
@(tradeModel.TradeNumber)
交易方向
@(tradeModel.BuySell)
期权类型
@(tradeModel.TradeType)
交易状态
@(tradeModel.TradeStatus)
名义本金
@(tradeModel.OriginalStockEqvNotionalV2.OtcFormat(OtcFormatFlag.StockEqvNotional))
@if (!string.IsNullOrEmpty(Model.OriginalStockEqvNotionalV2MultipleExchangeRate))
{
名义本金(结算币种)
@Model.OriginalStockEqvNotionalV2MultipleExchangeRate
}
交易总额
@(tradeModel.TradePrice)
无风险利率
@(tradeModel.NoRiskRate.OtcFormatPercent())
成交日期
@(tradeModel.TradeDate.OtcFormatDate())
到期日期
@(tradeModel.ExerciseDate.OtcFormatDate())
资金类型
@(tradeModel.trade_cashflow.DepositType)
利率类型
@(tradeModel.trade_cashflow.RateType)
利率
@(tradeModel.trade_cashflow.ProfitRate.OtcFormatPercent())
计息日历规则
@(tradeModel.trade_cashflow.ProfitDayCount)
返还比例
@(tradeModel.trade_cashflow.DepositType == CashflowDepositTypeEnum.资金收益 ? tradeModel.trade_cashflow.PrepayRatio.OtcFormatPercent() : "")
@if (!PS.Config.Is润和)
{
交易对手方
@(tradeModel.OpponentRole ?? "乙方")
}
else
{
}
@{
tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.ClearingAgency, out var clearingAgency);
tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.TradingPlace, out var tradingPlace);
tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.MainProtocolCode, out var mainProtocolCode);
tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.SupProtocolCode, out var supProtocolCode);
}
@if (PS.Config.ErpElement.SecuritiesEnvironment)
{
if (!PS.Config.Is润和)
{
交易场所
@(tradingPlace)
清算机构
@(clearingAgency)
}
主协议编号
@(mainProtocolCode)
补充协议编号
@(supProtocolCode)
}
@if (AppHelper.UseFutureVersion("销售提成", "V2"))
{
@(PS.Config.ErpElement.SaleMode == YLErp.Configuration.Enums.SaleMode.SaleMen ? "销售员" : "客户经理")
@(salesNames)
销售提成
@(Model.SalesCommission.FirstOrDefault()?.CommissionString())
}
备注
@(tradeModel.RemarkInfo)
@if (CurUser.交易管理_交易标签查看权限)
{
标签
@if (Model.Tags != null && Model.Tags.Any())
{
foreach (var tag in Model.Tags)
{
@tag.Name
@if (CurUser.交易管理_交易标签调整权限)
{
x
}
}
}
@if (CurUser.交易管理_交易标签调整权限)
{
+
}
}
@if (tradeModel.Propertys != null)
{
var i = 0;
var length = tradeModel.Propertys.Count;
var preProperty = new ExtendInfoModel();
@foreach (var property in tradeModel.Propertys)
{
i++;
if (i % 2 == 1)
{
preProperty = property;
if (i == length)
{
@property.name
@property.value
}
}
else
{
@preProperty.name
@preProperty.value
@property.name
@property.value
}
}
}
@if (Model.unWindTradeCashList != null)
{
var index = 1;
@foreach (var tradeCash in Model.unWindTradeCashList)
{
if (tradeCash.Action == "系统操作-行权费")
{
提前终止序号
@(index++)
@if (isPremiumRate)
{
行权比例
@(tradeCash.NotionalPercent.OtcFormatPercent())
}
else
{
行权数量
@(tradeCash.TradeAmount.OtcFormatNotional(tradeModel.CountRatio, PS.Config.IsUseDisplayNotional))
}
行权日期
@(tradeCash.ValueDate.OtcFormatDate())
收益总额
@(tradeCash.Amount.OtcFormatMoney())
行权标的价格
@(tradeCash.FinalPrice.OtcFormat(OtcFormatFlag.umprice))
实现盈亏
@(tradeCash.WinLoss)
@if (isPremiumRate)
{
行权收益
@(tradeCash.SingleWinPricePercent.OtcFormat(OtcFormatFlag.premiumRateP))
}
else
{
行权收益
@(tradeCash.SingleWinPrice.OtcFormat(OtcFormatFlag.tradeSinglePrice))
}
}
else
{
提前终止序号
@(index++)
@if (isPremiumRate)
{
平仓单价
@(tradeCash.UnwindPricePercentRate.OtcFormatPercent())
}
else
{
平仓单价
@(tradeCash.UnwindPrice.OtcFormat(OtcFormatFlag.umprice))
}
平仓日期
@(tradeCash.ValueDate.OtcFormatDate())
@if (isPremiumRate)
{
平仓比例
@(tradeCash.UnwindPercentRate.OtcFormatPercent())
}
else
{
平仓数量
@(tradeCash.UnwindTradeAmount.OtcFormatNotional(tradeModel.CountRatio, PS.Config.IsUseDisplayNotional))
}
平仓标的价格
@(tradeCash.FinalPrice.OtcFormat(OtcFormatFlag.umprice))
平仓总额
@(tradeCash.Amount.OtcFormatMoney())
实现盈亏
@(tradeCash.WinLoss)
}
}
}
@if (Model.maturityTradeCash != null)
{
var mtc = Model.maturityTradeCash;
到期日期
@(mtc.ValueDateString)
@if (isPremiumRate)
{
到期比例
@(mtc.NotionalPercent.OtcFormatPercent())
}
else
{
到期数量
@(mtc.TradeAmount.OtcFormatNotional(tradeModel.CountRatio, PS.Config.IsUseDisplayNotional))
}
@if (isPremiumRate && mtc.Action != "系统操作-行权费")
{
到期收益
@(mtc.SingleWinPricePercent.OtcFormat(OtcFormatFlag.premiumRateP))
}
else
{
到期收益
@(mtc.SingleWinPrice.OtcFormat(OtcFormatFlag.tradeSinglePrice))
}
实现盈亏
@(mtc.WinLoss)
@if (tradeModel.TradeType == "亚式期权")
{
到期标的价格
@(mtc.SpotPrice.OtcFormat(OtcFormatFlag.umprice))
}
else
{
到期标的价格
@(mtc.FinalPrice.OtcFormat(OtcFormatFlag.umprice))
}
收益总额
@(mtc.Amount.OtcFormatMoney())
@if (tradeModel.TradeType == "亚式期权")
{
到期标的均价
@(mtc.FinalPrice.OtcFormat(OtcFormatFlag.umprice))
}
}
@if (ConsTrade.TradeStatusAfterConfirmed.Contains(Model.Trade.TradeStatus))
{
@if (CurUser.交易管理_交易资金维护)
{
新增
确认
拒绝
}
}