Package com.longbridge.trade
Class AccountBalance
- java.lang.Object
-
- com.longbridge.trade.AccountBalance
-
public class AccountBalance extends Object
Account balance information
-
-
Constructor Summary
Constructors Constructor Description AccountBalance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetBuyPower()Returns the buying power.CashInfo[]getCashInfos()Returns the cash details.StringgetCurrency()Returns the currency.com.longbridge.trade.FrozenTransactionFee[]getFrozenTransactionFees()Returns the frozen transaction fees.BigDecimalgetInitMargin()Returns the initial margin.BigDecimalgetMaintenanceMargin()Returns the maintenance margin.BigDecimalgetMarginCall()Returns the margin call amount.BigDecimalgetMaxFinanceAmount()Returns the maximum financing amount.BigDecimalgetNetAssets()Returns the net asset value.BigDecimalgetRemainingFinanceAmount()Returns the remaining financing amount.intgetRiskLevel()Returns the risk level (0-5).BigDecimalgetTotalCash()Returns the total cash.StringtoString()
-
-
-
Method Detail
-
getTotalCash
public BigDecimal getTotalCash()
Returns the total cash.- Returns:
- total cash
-
getMaxFinanceAmount
public BigDecimal getMaxFinanceAmount()
Returns the maximum financing amount.- Returns:
- maximum financing amount
-
getRemainingFinanceAmount
public BigDecimal getRemainingFinanceAmount()
Returns the remaining financing amount.- Returns:
- remaining financing amount
-
getRiskLevel
public int getRiskLevel()
Returns the risk level (0-5).- Returns:
- risk level
-
getMarginCall
public BigDecimal getMarginCall()
Returns the margin call amount.- Returns:
- margin call amount
-
getCurrency
public String getCurrency()
Returns the currency.- Returns:
- currency
-
getCashInfos
public CashInfo[] getCashInfos()
Returns the cash details.- Returns:
- cash details
-
getNetAssets
public BigDecimal getNetAssets()
Returns the net asset value.- Returns:
- net asset value
-
getInitMargin
public BigDecimal getInitMargin()
Returns the initial margin.- Returns:
- initial margin
-
getMaintenanceMargin
public BigDecimal getMaintenanceMargin()
Returns the maintenance margin.- Returns:
- maintenance margin
-
getBuyPower
public BigDecimal getBuyPower()
Returns the buying power.- Returns:
- buying power
-
getFrozenTransactionFees
public com.longbridge.trade.FrozenTransactionFee[] getFrozenTransactionFees()
Returns the frozen transaction fees.- Returns:
- frozen transaction fees
-
-