Class FtxPositionDto
java.lang.Object
org.knowm.xchange.ftx.dto.account.FtxPositionDto
-
Constructor Summary
ConstructorDescriptionFtxPositionDto
(BigDecimal cost, BigDecimal entryPrice, BigDecimal estimatedLiquidationPrice, String future, BigDecimal initialMarginRequirement, BigDecimal longOrderSize, BigDecimal maintenanceMarginRequirement, BigDecimal netSize, BigDecimal openSize, BigDecimal realizedPnl, BigDecimal shortOrderSize, FtxOrderSide side, BigDecimal size, BigDecimal unrealizedPnl, BigDecimal collateralUsed, BigDecimal recentBreakEvenPrice, BigDecimal recentAverageOpenPrice, BigDecimal recentPnl, BigDecimal cumulativeBuySize, BigDecimal cumulativeSellSize) -
Method Summary
-
Constructor Details
-
FtxPositionDto
public FtxPositionDto(BigDecimal cost, BigDecimal entryPrice, BigDecimal estimatedLiquidationPrice, String future, BigDecimal initialMarginRequirement, BigDecimal longOrderSize, BigDecimal maintenanceMarginRequirement, BigDecimal netSize, BigDecimal openSize, BigDecimal realizedPnl, BigDecimal shortOrderSize, FtxOrderSide side, BigDecimal size, BigDecimal unrealizedPnl, BigDecimal collateralUsed, BigDecimal recentBreakEvenPrice, BigDecimal recentAverageOpenPrice, BigDecimal recentPnl, BigDecimal cumulativeBuySize, BigDecimal cumulativeSellSize)
-
-
Method Details
-
getCost
-
getEntryPrice
-
getEstimatedLiquidationPrice
-
getFuture
-
getInitialMarginRequirement
-
getLongOrderSize
-
getMaintenanceMarginRequirement
-
getNetSize
-
getOpenSize
-
getRealizedPnl
-
getShortOrderSize
-
getSide
-
getSize
-
getUnrealizedPnl
-
getCollateralUsed
-
getRecentBreakEvenPrice
-
getRecentAverageOpenPrice
-
getRecentPnl
-
getCumulativeBuySize
-
getCumulativeSellSize
-
toString
-