public class ContractStat extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_LONG_LIQ_AMOUNT |
static String |
SERIALIZED_NAME_LONG_LIQ_SIZE |
static String |
SERIALIZED_NAME_LONG_LIQ_USD |
static String |
SERIALIZED_NAME_LSR_ACCOUNT |
static String |
SERIALIZED_NAME_LSR_TAKER |
static String |
SERIALIZED_NAME_OPEN_INTEREST |
static String |
SERIALIZED_NAME_OPEN_INTEREST_USD |
static String |
SERIALIZED_NAME_SHORT_LIQ_AMOUNT |
static String |
SERIALIZED_NAME_SHORT_LIQ_SIZE |
static String |
SERIALIZED_NAME_SHORT_LIQ_USD |
static String |
SERIALIZED_NAME_TIME |
static String |
SERIALIZED_NAME_TOP_LSR_ACCOUNT |
static String |
SERIALIZED_NAME_TOP_LSR_SIZE |
| Constructor and Description |
|---|
ContractStat() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Double |
getLongLiqAmount()
Long liquidation amount(base currency)
|
Long |
getLongLiqSize()
Long liquidation size
|
Double |
getLongLiqUsd()
Long liquidation volume(quote currency)
|
BigDecimal |
getLsrAccount()
Long/short taker size ratio
|
BigDecimal |
getLsrTaker()
Long/short account number ratio
|
Long |
getOpenInterest()
Open interest size
|
Double |
getOpenInterestUsd()
Open interest volume(quote currency)
|
Double |
getShortLiqAmount()
Short liquidation amount(base currency)
|
Long |
getShortLiqSize()
Short liquidation size
|
Double |
getShortLiqUsd()
Short liquidation volume(quote currency)
|
Long |
getTime()
Stat timestamp
|
Double |
getTopLsrAccount()
Top trader long/short account ratio
|
Double |
getTopLsrSize()
Top trader long/short position ratio
|
int |
hashCode() |
ContractStat |
longLiqAmount(Double longLiqAmount) |
ContractStat |
longLiqSize(Long longLiqSize) |
ContractStat |
longLiqUsd(Double longLiqUsd) |
ContractStat |
lsrAccount(BigDecimal lsrAccount) |
ContractStat |
lsrTaker(BigDecimal lsrTaker) |
ContractStat |
openInterest(Long openInterest) |
ContractStat |
openInterestUsd(Double openInterestUsd) |
void |
setLongLiqAmount(Double longLiqAmount) |
void |
setLongLiqSize(Long longLiqSize) |
void |
setLongLiqUsd(Double longLiqUsd) |
void |
setLsrAccount(BigDecimal lsrAccount) |
void |
setLsrTaker(BigDecimal lsrTaker) |
void |
setOpenInterest(Long openInterest) |
void |
setOpenInterestUsd(Double openInterestUsd) |
void |
setShortLiqAmount(Double shortLiqAmount) |
void |
setShortLiqSize(Long shortLiqSize) |
void |
setShortLiqUsd(Double shortLiqUsd) |
void |
setTime(Long time) |
void |
setTopLsrAccount(Double topLsrAccount) |
void |
setTopLsrSize(Double topLsrSize) |
ContractStat |
shortLiqAmount(Double shortLiqAmount) |
ContractStat |
shortLiqSize(Long shortLiqSize) |
ContractStat |
shortLiqUsd(Double shortLiqUsd) |
ContractStat |
time(Long time) |
ContractStat |
topLsrAccount(Double topLsrAccount) |
ContractStat |
topLsrSize(Double topLsrSize) |
String |
toString() |
public static final String SERIALIZED_NAME_TIME
public static final String SERIALIZED_NAME_LSR_TAKER
public static final String SERIALIZED_NAME_LSR_ACCOUNT
public static final String SERIALIZED_NAME_LONG_LIQ_SIZE
public static final String SERIALIZED_NAME_LONG_LIQ_AMOUNT
public static final String SERIALIZED_NAME_LONG_LIQ_USD
public static final String SERIALIZED_NAME_SHORT_LIQ_SIZE
public static final String SERIALIZED_NAME_SHORT_LIQ_AMOUNT
public static final String SERIALIZED_NAME_SHORT_LIQ_USD
public static final String SERIALIZED_NAME_OPEN_INTEREST
public static final String SERIALIZED_NAME_OPEN_INTEREST_USD
public static final String SERIALIZED_NAME_TOP_LSR_ACCOUNT
public static final String SERIALIZED_NAME_TOP_LSR_SIZE
public ContractStat time(Long time)
public void setTime(Long time)
public ContractStat lsrTaker(BigDecimal lsrTaker)
@Nullable public BigDecimal getLsrTaker()
public void setLsrTaker(BigDecimal lsrTaker)
public ContractStat lsrAccount(BigDecimal lsrAccount)
@Nullable public BigDecimal getLsrAccount()
public void setLsrAccount(BigDecimal lsrAccount)
public ContractStat longLiqSize(Long longLiqSize)
public void setLongLiqSize(Long longLiqSize)
public ContractStat longLiqAmount(Double longLiqAmount)
@Nullable public Double getLongLiqAmount()
public void setLongLiqAmount(Double longLiqAmount)
public ContractStat longLiqUsd(Double longLiqUsd)
@Nullable public Double getLongLiqUsd()
public void setLongLiqUsd(Double longLiqUsd)
public ContractStat shortLiqSize(Long shortLiqSize)
@Nullable public Long getShortLiqSize()
public void setShortLiqSize(Long shortLiqSize)
public ContractStat shortLiqAmount(Double shortLiqAmount)
@Nullable public Double getShortLiqAmount()
public void setShortLiqAmount(Double shortLiqAmount)
public ContractStat shortLiqUsd(Double shortLiqUsd)
@Nullable public Double getShortLiqUsd()
public void setShortLiqUsd(Double shortLiqUsd)
public ContractStat openInterest(Long openInterest)
public void setOpenInterest(Long openInterest)
public ContractStat openInterestUsd(Double openInterestUsd)
@Nullable public Double getOpenInterestUsd()
public void setOpenInterestUsd(Double openInterestUsd)
public ContractStat topLsrAccount(Double topLsrAccount)
@Nullable public Double getTopLsrAccount()
public void setTopLsrAccount(Double topLsrAccount)
public ContractStat topLsrSize(Double topLsrSize)
@Nullable public Double getTopLsrSize()
public void setTopLsrSize(Double topLsrSize)
Copyright © 2021. All rights reserved.