Class FtxAccountDto
java.lang.Object
org.knowm.xchange.ftx.dto.account.FtxAccountDto
public class FtxAccountDto extends Object
-
Constructor Summary
Constructors Constructor Description FtxAccountDto(boolean backstopProvider, BigDecimal collateral, BigDecimal freeCollateral, BigDecimal initialMarginRequirement, BigDecimal leverage, boolean liquidating, BigDecimal maintenanceMarginRequirement, BigDecimal makerFee, BigDecimal marginFraction, BigDecimal openMarginFraction, BigDecimal takerFee, BigDecimal totalAccountValue, BigDecimal totalPositionSize, String username, List<FtxPositionDto> positions)
-
Method Summary
Modifier and Type Method Description boolean
getBackstopProvider()
BigDecimal
getCollateral()
BigDecimal
getFreeCollateral()
BigDecimal
getInitialMarginRequirement()
BigDecimal
getLeverage()
boolean
getLiquidating()
BigDecimal
getMaintenanceMarginRequirement()
BigDecimal
getMakerFee()
BigDecimal
getMarginFraction()
BigDecimal
getOpenMarginFraction()
List<FtxPositionDto>
getPositions()
BigDecimal
getTakerFee()
BigDecimal
getTotalAccountValue()
BigDecimal
getTotalPositionSize()
String
getUsername()
String
toString()
-
Constructor Details
-
FtxAccountDto
public FtxAccountDto(boolean backstopProvider, BigDecimal collateral, BigDecimal freeCollateral, BigDecimal initialMarginRequirement, BigDecimal leverage, boolean liquidating, BigDecimal maintenanceMarginRequirement, BigDecimal makerFee, BigDecimal marginFraction, BigDecimal openMarginFraction, BigDecimal takerFee, BigDecimal totalAccountValue, BigDecimal totalPositionSize, String username, List<FtxPositionDto> positions)
-
-
Method Details
-
getBackstopProvider
public boolean getBackstopProvider() -
getCollateral
-
getFreeCollateral
-
getInitialMarginRequirement
-
getLeverage
-
getLiquidating
public boolean getLiquidating() -
getMaintenanceMarginRequirement
-
getMakerFee
-
getMarginFraction
-
getOpenMarginFraction
-
getTakerFee
-
getTotalAccountValue
-
getTotalPositionSize
-
getUsername
-
getPositions
-
toString
-