public class OptionsPosition extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CLOSE_ORDER |
static String |
SERIALIZED_NAME_CONTRACT |
static String |
SERIALIZED_NAME_DELTA |
static String |
SERIALIZED_NAME_ENTRY_PRICE |
static String |
SERIALIZED_NAME_GAMMA |
static String |
SERIALIZED_NAME_MARK_IV |
static String |
SERIALIZED_NAME_MARK_PRICE |
static String |
SERIALIZED_NAME_PENDING_ORDERS |
static String |
SERIALIZED_NAME_REALISED_PNL |
static String |
SERIALIZED_NAME_SIZE |
static String |
SERIALIZED_NAME_THETA |
static String |
SERIALIZED_NAME_UNDERLYING |
static String |
SERIALIZED_NAME_UNDERLYING_PRICE |
static String |
SERIALIZED_NAME_UNREALISED_PNL |
static String |
SERIALIZED_NAME_USER |
static String |
SERIALIZED_NAME_VEGA |
| Constructor and Description |
|---|
OptionsPosition() |
| Modifier and Type | Method and Description |
|---|---|
OptionsPosition |
closeOrder(OptionsPositionCloseOrder closeOrder) |
boolean |
equals(Object o) |
OptionsPositionCloseOrder |
getCloseOrder()
Get closeOrder
|
String |
getContract()
Options contract name
|
String |
getDelta()
Delta
|
String |
getEntryPrice()
Entry size (quote currency)
|
String |
getGamma()
Gamma
|
String |
getMarkIv()
Implied volatility
|
String |
getMarkPrice()
Current mark price (quote currency)
|
Integer |
getPendingOrders()
Current open orders
|
String |
getRealisedPnl()
Realized PNL
|
Long |
getSize()
Position size (contract size)
|
String |
getTheta()
Theta
|
String |
getUnderlying()
Underlying
|
String |
getUnderlyingPrice()
Underlying price (quote currency)
|
String |
getUnrealisedPnl()
Unrealized PNL
|
Integer |
getUser()
User ID
|
String |
getVega()
Vega
|
int |
hashCode() |
void |
setCloseOrder(OptionsPositionCloseOrder closeOrder) |
String |
toString() |
public static final String SERIALIZED_NAME_USER
public static final String SERIALIZED_NAME_UNDERLYING
public static final String SERIALIZED_NAME_UNDERLYING_PRICE
public static final String SERIALIZED_NAME_CONTRACT
public static final String SERIALIZED_NAME_SIZE
public static final String SERIALIZED_NAME_ENTRY_PRICE
public static final String SERIALIZED_NAME_MARK_PRICE
public static final String SERIALIZED_NAME_MARK_IV
public static final String SERIALIZED_NAME_REALISED_PNL
public static final String SERIALIZED_NAME_UNREALISED_PNL
public static final String SERIALIZED_NAME_PENDING_ORDERS
public static final String SERIALIZED_NAME_CLOSE_ORDER
public static final String SERIALIZED_NAME_DELTA
public static final String SERIALIZED_NAME_GAMMA
public static final String SERIALIZED_NAME_VEGA
public static final String SERIALIZED_NAME_THETA
@Nullable public String getUnderlyingPrice()
@Nullable public String getEntryPrice()
@Nullable public String getMarkPrice()
@Nullable public Integer getPendingOrders()
public OptionsPosition closeOrder(OptionsPositionCloseOrder closeOrder)
@Nullable public OptionsPositionCloseOrder getCloseOrder()
public void setCloseOrder(OptionsPositionCloseOrder closeOrder)
Copyright © 2023. All rights reserved.