@model SwapLongShortCloseModel @{ ViewBag.Title = "交易 | 提前终止详情"; Layout = "~/Views/Shared/_InfoLayout.cshtml"; } @section CSS{ }
@foreach (var item in Model.DealInterests.Where(x => x.InterestMode == 5 || x.InterestMode == 6)) { var bgclass = item.InterestDirection == (int)SwapDirectionEnum.收取 ? "swapget" : "swappay"; }
收支方向 利息金额 利息端平仓盈亏
@((SwapDirectionEnum)item.InterestDirection) @(item.InterestAmount.OtcFormatMoney(true, 4)) @(item.InterestClosePnL.OtcFormatMoney(true, 4))
@foreach (var item in Model.DealInterests.Where(x => x.InterestMode == 1 || x.InterestMode == 2)) { var bgclass = item.InterestDirection == (int)SwapDirectionEnum.收取 ? "swapget" : "swappay"; }
收支方向 利息金额 利息端平仓盈亏
@((SwapDirectionEnum)item.InterestDirection) @(item.InterestAmount.OtcFormatMoney(true,4)) @(item.InterestClosePnL.OtcFormatMoney(true,4))
@if (Model.DealPositions.Count>0) {
@foreach (var item in Model.DealPositions) { var fbgclass = item.PosiDirection == (int)SwapDirectionEnum.收取 ? "swapget" : "swappay"; }
收支方向 多空方向 标的代码 期初标的价格 期初标的价格(不含费) 标的价格 平仓数量 交易费用 分红收益 浮动端平仓盈亏
@((SwapDirectionEnum)item.PosiDirection) @(item.PositionType == (int)PositionTypeFlag.Long ? "多头" : "空头") @item.UnderlyingCode @(item.PosiNetPrice.OtcFormatMoney(true, 4)) @(item.PosiGrossPrice.OtcFormatMoney(true, 4)) @(item.UnderlyingPrice.OtcFormatMoney(true, 4)) @(item.TdCloseQty.OtcFormatMoney(true, 4)) @(item.TdCloseFee.OtcFormatMoney(true, 4)) @(item.TdPosiDividend.OtcFormatMoney(true, 4)) @(item.TdCloseMtmPnl.OtcFormatMoney(true, 4))
}