public class UserOrder extends Object
| Modifier and Type | Field and Description |
|---|---|
long |
orderId |
int |
orderType
order type: 1-Buy, 2-Sell
|
BigDecimal |
price |
int |
status
order status: 1-pending trade, 2-successful trade, 3-canceled, 4-failed
|
long |
symbolId |
BigDecimal |
tradeVolume
volume of successful trade
|
BigDecimal |
volume
volume of order
|
| Constructor and Description |
|---|
UserOrder(long orderId,
int orderType,
BigDecimal price,
int status,
long symbolId,
String timestamp,
BigDecimal tradeVolume,
BigDecimal volume) |
public final long orderId
public final int orderType
public final long symbolId
public final BigDecimal price
public final int status
public final BigDecimal tradeVolume
public final BigDecimal volume
public UserOrder(long orderId,
int orderType,
BigDecimal price,
int status,
long symbolId,
String timestamp,
BigDecimal tradeVolume,
BigDecimal volume)
Copyright © 2018–2019 Knowm Inc.. All rights reserved.