| 交易日期 |
@(tradeModel.TradeDate.OtcFormatDate()) |
到期日期 |
@(tradeModel.ExerciseDate.OtcFormatDate()) |
| 买卖方向 |
@(tradeModel.BuySell) |
结算日期 |
@(tradeModel.SettlementDate.OtcFormatDate()) |
| 成交方式 |
@(isPremiumRate ? "名义本金" : "成交数量") |
成交数量 |
@(tradeModel.TradeOriginalAmount.OtcFormatNotional(tradeModel.CountRatio, PS.Config.IsUseDisplayNotional))
@(tradeModel.TradeUnit)
|
| 名义本金 |
@(tradeModel.OriginalStockEqvNotionalV2.OtcFormat(OtcFormatFlag.StockEqvNotional)) |
@if (isPremiumRate)
{
期权费率 |
@(tradeModel.PremiumRate.OtcFormat(OtcFormatFlag.premiumRateP)) |
}
else
{
权利金 |
@(tradeModel.TradeSinglePrice.OtcFormat(OtcFormatFlag.tradeSinglePrice))
@if (tradeModel.TradeSinglePrice != null)
{
@(tradeModel.QuoteUnitSingle)
}
|
}
@if (!string.IsNullOrEmpty(Model.OriginalStockEqvNotionalV2MultipleExchangeRate))
{
| 名义本金(结算币种) |
@Model.OriginalStockEqvNotionalV2MultipleExchangeRate |
}
成交总额 |
@(tradeModel.TradePrice.OtcFormatMoney()) |
@if (string.IsNullOrEmpty(Model.OriginalStockEqvNotionalV2MultipleExchangeRate))
{
|
|
}
@if (tradeModel.StructureType == "气囊结构")
{
| 期权类型 |
@(tradeModel.StructureType) |
看涨看跌 |
@(tradeModel.OptionType) |
| 敲入价格 |
@(tradeModel.trade_airbag.Barrier.OtcFormatUmPrice(isMoneyness)) |
未敲入参与率 |
@(tradeModel.trade_airbag.NotKIParticipationRate.OtcFormatPercent()) |
| 上涨参与率 |
@(tradeModel.trade_airbag.KIParticipationRate.OtcFormatPercent()) |
低执行价格 |
@(tradeModel.Strike.OtcFormatUmPrice(isMoneyness)) |
| 高执行价格 |
@(tradeModel.trade_airbag.HasPayoffLimit ? tradeModel.trade_airbag.HighStrike.OtcFormatUmPrice(isMoneyness) : "") |
}
else 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 == 1)
{
| 期权类型 |
@(tradeModel.StructureType) |
@property.name |
@property.value |
}
else if (i % 2 == 0)
{
preProperty = property;
if (i == length)
{
| @property.name |
@property.value |
|
|
}
}
else
{
| @preProperty.name |
@preProperty.value |
@property.name |
@property.value |
}
}
if (i == 0)
{
| 期权类型 |
@(tradeModel.StructureType) |
|
|
}
}
| 簿记账户 |
@(tradeModel.AssetBookName) |
交易员 |
@(tradeModel.TraderName) |
| 交易对手方 |
@(tradeModel.ClientName) |
交易编号 |
@(tradeModel.TradeNumber) |
| 计价币种 |
@tradeModel.QuoteCurrency |
汇率 |
@{
tradeModel.MetaDic.TryGetValue("ExchangeRate", out var ExchangeRate);
}@ExchangeRate
|
@if (!PS.Config.ErpElement.SecuritiesEnvironment)
{
| 中央对手方清算 |
@{
tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.IsCentralClearing, out var isCentralClearing);
}
@(isCentralClearing == "Y" ? "是" : isCentralClearing == "I" ? "计划中央对手方清算" : "否")
|
中央清算平台 |
@{
tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.CentralClearingPaltform, out var centralClearingPaltform);
}
@centralClearingPaltform
|
| 交易平台 |
@{
tradeModel.MetaDic.TryGetValue(YLErp.DBModels.Consts.ConsTradeMetaKey.TradingPaltform, out var tradingPaltform);
}
@tradingPaltform
|
}
| 备注 |
@(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.StructureType == "气囊结构")
{
| 敲入敲出状态 |
@(tradeModel.trade_airbag.KnockInOutStatusCn) |
敲入敲出时间 |
@(tradeModel.trade_airbag.KnockInOutDate?.ToString("yyyy-MM-dd")) |
}
@if (Model.couponTradeCashList != null)
{
var index = 1;
@foreach (var tradeCash in Model.couponTradeCashList)
{
| 票息序号 |
@(index++) |
票息日期 |
@(tradeCash.ValueDate.OtcFormatDate()) |
| 观察价格 |
@(tradeCash.FinalPrice.OtcFormat(OtcFormatFlag.umprice)) |
票息金额 |
@(tradeCash.Amount.OtcFormatMoney()) |
}
}
@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.SingleWinPrice.OtcFormat(OtcFormatFlag.tradeSinglePrice)) |
实现盈亏 |
@(tradeCash.WinLoss) |
}
else
{
| 提前终止序号 |
@(index++) |
@if (isPremiumRate)
{
平仓比例 |
@(tradeCash.UnwindPercentRate.OtcFormatPercent()) |
}
else
{
平仓数量 |
@(tradeCash.UnwindTradeAmount.OtcFormatNotional(tradeModel.CountRatio, PS.Config.IsUseDisplayNotional)) |
}
| 平仓日期 |
@(tradeCash.ValueDate.OtcFormatDate()) |
平仓标的价格 |
@(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))
{
@*
*@
}