public class PositionClose extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PositionClose.SideEnum
Position side, long or short
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CONTRACT |
static String |
SERIALIZED_NAME_PNL |
static String |
SERIALIZED_NAME_SIDE |
static String |
SERIALIZED_NAME_TEXT |
static String |
SERIALIZED_NAME_TIME |
| Constructor and Description |
|---|
PositionClose() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getContract()
Futures contract
|
String |
getPnl()
PNL
|
PositionClose.SideEnum |
getSide()
Position side, long or short
|
String |
getText()
Text of close order
|
Double |
getTime()
Position close time
|
int |
hashCode() |
String |
toString() |
public static final String SERIALIZED_NAME_TIME
public static final String SERIALIZED_NAME_CONTRACT
public static final String SERIALIZED_NAME_SIDE
public static final String SERIALIZED_NAME_PNL
public static final String SERIALIZED_NAME_TEXT
@Nullable public PositionClose.SideEnum getSide()
Copyright © 2021. All rights reserved.