using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YLErp.DBModels
{
///
/// 互换估值
///
public class EodSwapPositionResponse
{
///
/// 浮动端估值
///
public eod_swap_position position { get; set; }
///
/// 结构类型
///
public string StructureType { get; set; }
///
///
/// 交易对手方名称
///
public string ClientName { get; set; }
///
/// 交易确认书编号
///
public string ConfrimNo { get; set; }
///
/// 交易编号
///
public string TradeNumber { get; set; }
///
/// 期间付息
///
public decimal PeriodAmount { get; set; }
///
/// 期限
///
public int DayCount { get; set; }
///
/// 期初预付金-不包含追加预付金 取轧差
///
public decimal OpenMarginAmount { get; set; }
///
/// 期初预付金利率-不包含追加预付金 取轧差
///
public decimal OpenMarginRate { get; set; }
///
/// 预付金利息 取轧差
///
public decimal MarginInterestAmount { get; set; }
///
/// 浮动利率(绝对)利率端待实现收益/(标的名义金额/期初标的交割价格全价)
///
public decimal FloatRateAbs { get; set; }
///
/// 利差
///
public decimal InterestRate { get; set; }
///
/// 利率收益金额 利率端待实现收益
///
public decimal InterestAmount { get; set; }
///
/// 净额结算金额 互换持仓价值+待返还的预付金本金
///
public decimal NetSettmentAmount { get; set; }
///
/// 交易费用
///
public decimal TradingFee { get; set; }
///
/// 浮动利率标的
///
public string FloatRateUnderlyingCode { get; set; }
///
/// 平仓日
///
public DateTime? UnwindDate { get; set; }
///
/// 交易状态
///
public string TradeStatus { get; set; }
///
/// 利率类型
///
public string RateType {
get {
if (!string.IsNullOrEmpty(FloatRateUnderlyingCode)) {
return "固定";
}
return "浮动利率";
} }
}
}