namespace CryptoExchange.Net.CommonObjects
{
///
/// Position data
///
public class Position: BaseCommonObject
{
///
/// Id of the position
///
public string? Id { get; set; }
///
/// Symbol of the position
///
public string Symbol { get; set; } = string.Empty;
///
/// Leverage
///
public decimal Leverage { get; set; }
///
/// Position quantity
///
public decimal Quantity { get; set; }
///
/// Entry price
///
public decimal? EntryPrice { get; set; }
///
/// Liquidation price
///
public decimal? LiquidationPrice { get; set; }
///
/// Unrealized profit and loss
///
public decimal? UnrealizedPnl { get; set; }
///
/// Realized profit and loss
///
public decimal? RealizedPnl { get; set; }
///
/// Mark price
///
public decimal? MarkPrice { get; set; }
///
/// Auto adding margin
///
public bool? AutoMargin { get; set; }
///
/// Position margin
///
public decimal? PositionMargin { get; set; }
///
/// Position side
///
public CommonPositionSide? Side { get; set; }
///
/// Is isolated
///
public bool? Isolated { get; set; }
///
/// Maintenance margin
///
public decimal? MaintananceMargin { get; set; }
}
}