public class OptionsContract extends Object
| Constructor and Description |
|---|
OptionsContract() |
| Modifier and Type | Method and Description |
|---|---|
OptionsContract |
createTime(Double createTime) |
boolean |
equals(Object o) |
OptionsContract |
expirationTime(Double expirationTime) |
Double |
getCreateTime()
Creation time
|
Double |
getExpirationTime()
Expiration time
|
String |
getIndexPrice()
Current index price (quote currency)
|
Boolean |
getIsCall()
`true` means call options, while `false` is put options
|
String |
getLastPrice()
Last trading price
|
String |
getMakerFeeRate()
Maker fee rate, where negative means rebate
|
String |
getMarkPrice()
Current mark price (quote currency)
|
String |
getMarkPriceRound()
Minimum mark price increment
|
String |
getMultiplier()
Multiplier used in converting from invoicing to settlement currency
|
String |
getName()
Options contract name
|
Long |
getOrderbookId()
Current orderbook ID
|
String |
getOrderPriceDeviate()
deviation between order price and current index price.
|
String |
getOrderPriceRound()
Minimum order price increment
|
Long |
getOrderSizeMax()
Maximum order size the contract allowed
|
Long |
getOrderSizeMin()
Minimum order size the contract allowed
|
Integer |
getOrdersLimit()
Maximum number of open orders
|
Long |
getPositionSize()
Current total long position size
|
String |
getRefDiscountRate()
Referral fee rate discount
|
String |
getRefRebateRate()
Referrer commission rate
|
String |
getTag()
tag
|
String |
getTakerFeeRate()
Taker fee rate
|
Long |
getTradeId()
Current trade ID
|
Long |
getTradeSize()
Historical accumulated trade size
|
String |
getUnderlying()
Underlying
|
String |
getUnderlyingPrice()
Underlying price (quote currency)
|
int |
hashCode() |
OptionsContract |
indexPrice(String indexPrice) |
OptionsContract |
isCall(Boolean isCall) |
OptionsContract |
lastPrice(String lastPrice) |
OptionsContract |
makerFeeRate(String makerFeeRate) |
OptionsContract |
markPrice(String markPrice) |
OptionsContract |
markPriceRound(String markPriceRound) |
OptionsContract |
multiplier(String multiplier) |
OptionsContract |
name(String name) |
OptionsContract |
orderbookId(Long orderbookId) |
OptionsContract |
orderPriceDeviate(String orderPriceDeviate) |
OptionsContract |
orderPriceRound(String orderPriceRound) |
OptionsContract |
orderSizeMax(Long orderSizeMax) |
OptionsContract |
orderSizeMin(Long orderSizeMin) |
OptionsContract |
ordersLimit(Integer ordersLimit) |
OptionsContract |
positionSize(Long positionSize) |
OptionsContract |
refDiscountRate(String refDiscountRate) |
OptionsContract |
refRebateRate(String refRebateRate) |
void |
setCreateTime(Double createTime) |
void |
setExpirationTime(Double expirationTime) |
void |
setIndexPrice(String indexPrice) |
void |
setIsCall(Boolean isCall) |
void |
setLastPrice(String lastPrice) |
void |
setMakerFeeRate(String makerFeeRate) |
void |
setMarkPrice(String markPrice) |
void |
setMarkPriceRound(String markPriceRound) |
void |
setMultiplier(String multiplier) |
void |
setName(String name) |
void |
setOrderbookId(Long orderbookId) |
void |
setOrderPriceDeviate(String orderPriceDeviate) |
void |
setOrderPriceRound(String orderPriceRound) |
void |
setOrderSizeMax(Long orderSizeMax) |
void |
setOrderSizeMin(Long orderSizeMin) |
void |
setOrdersLimit(Integer ordersLimit) |
void |
setPositionSize(Long positionSize) |
void |
setRefDiscountRate(String refDiscountRate) |
void |
setRefRebateRate(String refRebateRate) |
void |
setTag(String tag) |
void |
setTakerFeeRate(String takerFeeRate) |
void |
setTradeId(Long tradeId) |
void |
setTradeSize(Long tradeSize) |
void |
setUnderlying(String underlying) |
void |
setUnderlyingPrice(String underlyingPrice) |
OptionsContract |
tag(String tag) |
OptionsContract |
takerFeeRate(String takerFeeRate) |
String |
toString() |
OptionsContract |
tradeId(Long tradeId) |
OptionsContract |
tradeSize(Long tradeSize) |
OptionsContract |
underlying(String underlying) |
OptionsContract |
underlyingPrice(String underlyingPrice) |
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_TAG
public static final String SERIALIZED_NAME_CREATE_TIME
public static final String SERIALIZED_NAME_EXPIRATION_TIME
public static final String SERIALIZED_NAME_IS_CALL
public static final String SERIALIZED_NAME_MULTIPLIER
public static final String SERIALIZED_NAME_UNDERLYING
public static final String SERIALIZED_NAME_UNDERLYING_PRICE
public static final String SERIALIZED_NAME_LAST_PRICE
public static final String SERIALIZED_NAME_MARK_PRICE
public static final String SERIALIZED_NAME_INDEX_PRICE
public static final String SERIALIZED_NAME_MAKER_FEE_RATE
public static final String SERIALIZED_NAME_TAKER_FEE_RATE
public static final String SERIALIZED_NAME_ORDER_PRICE_ROUND
public static final String SERIALIZED_NAME_MARK_PRICE_ROUND
public static final String SERIALIZED_NAME_ORDER_SIZE_MIN
public static final String SERIALIZED_NAME_ORDER_SIZE_MAX
public static final String SERIALIZED_NAME_ORDER_PRICE_DEVIATE
public static final String SERIALIZED_NAME_REF_DISCOUNT_RATE
public static final String SERIALIZED_NAME_REF_REBATE_RATE
public static final String SERIALIZED_NAME_ORDERBOOK_ID
public static final String SERIALIZED_NAME_TRADE_ID
public static final String SERIALIZED_NAME_TRADE_SIZE
public static final String SERIALIZED_NAME_POSITION_SIZE
public static final String SERIALIZED_NAME_ORDERS_LIMIT
public OptionsContract name(String name)
public void setName(String name)
public OptionsContract tag(String tag)
public void setTag(String tag)
public OptionsContract createTime(Double createTime)
public void setCreateTime(Double createTime)
public OptionsContract expirationTime(Double expirationTime)
@Nullable public Double getExpirationTime()
public void setExpirationTime(Double expirationTime)
public OptionsContract isCall(Boolean isCall)
@Nullable public Boolean getIsCall()
public void setIsCall(Boolean isCall)
public OptionsContract multiplier(String multiplier)
@Nullable public String getMultiplier()
public void setMultiplier(String multiplier)
public OptionsContract underlying(String underlying)
public void setUnderlying(String underlying)
public OptionsContract underlyingPrice(String underlyingPrice)
@Nullable public String getUnderlyingPrice()
public void setUnderlyingPrice(String underlyingPrice)
public OptionsContract lastPrice(String lastPrice)
public void setLastPrice(String lastPrice)
public OptionsContract markPrice(String markPrice)
@Nullable public String getMarkPrice()
public void setMarkPrice(String markPrice)
public OptionsContract indexPrice(String indexPrice)
@Nullable public String getIndexPrice()
public void setIndexPrice(String indexPrice)
public OptionsContract makerFeeRate(String makerFeeRate)
@Nullable public String getMakerFeeRate()
public void setMakerFeeRate(String makerFeeRate)
public OptionsContract takerFeeRate(String takerFeeRate)
public void setTakerFeeRate(String takerFeeRate)
public OptionsContract orderPriceRound(String orderPriceRound)
@Nullable public String getOrderPriceRound()
public void setOrderPriceRound(String orderPriceRound)
public OptionsContract markPriceRound(String markPriceRound)
@Nullable public String getMarkPriceRound()
public void setMarkPriceRound(String markPriceRound)
public OptionsContract orderSizeMin(Long orderSizeMin)
@Nullable public Long getOrderSizeMin()
public void setOrderSizeMin(Long orderSizeMin)
public OptionsContract orderSizeMax(Long orderSizeMax)
@Nullable public Long getOrderSizeMax()
public void setOrderSizeMax(Long orderSizeMax)
public OptionsContract orderPriceDeviate(String orderPriceDeviate)
@Nullable public String getOrderPriceDeviate()
public void setOrderPriceDeviate(String orderPriceDeviate)
public OptionsContract refDiscountRate(String refDiscountRate)
@Nullable public String getRefDiscountRate()
public void setRefDiscountRate(String refDiscountRate)
public OptionsContract refRebateRate(String refRebateRate)
@Nullable public String getRefRebateRate()
public void setRefRebateRate(String refRebateRate)
public OptionsContract orderbookId(Long orderbookId)
public void setOrderbookId(Long orderbookId)
public OptionsContract tradeId(Long tradeId)
public void setTradeId(Long tradeId)
public OptionsContract tradeSize(Long tradeSize)
@Nullable public Long getTradeSize()
public void setTradeSize(Long tradeSize)
public OptionsContract positionSize(Long positionSize)
@Nullable public Long getPositionSize()
public void setPositionSize(Long positionSize)
public OptionsContract ordersLimit(Integer ordersLimit)
@Nullable public Integer getOrdersLimit()
public void setOrdersLimit(Integer ordersLimit)
Copyright © 2023. All rights reserved.