public class Order
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
ClosePrice
Close price.
|
java.time.LocalDateTime |
CloseTime
Close time.
|
java.lang.String |
Comment
Order comment.
|
double |
Commission
Commission value.
|
TradeRecord |
Ex
Extended order information.
|
java.time.LocalDateTime |
Expiration
Expiration time of pending order.
|
double |
Lots
Amount of lots.
|
int |
MagicNumber
Identifying (magic) number.
|
double |
OpenPrice
Open price.
|
java.time.LocalDateTime |
OpenTime
Open time.
|
double |
Profit
Net profit value (without swaps or commissions) in base currency.
|
double |
RateClose
Convertation rate from profit currency to group deposit currency for close time.
|
double |
RateMargin
Rate of convertation from margin currency to deposit one.
|
double |
RateOpen
Convertation rate from profit currency to group deposit currency for open time.
|
double |
StopLoss
Stop loss.
|
double |
Swap
Swap value.
|
java.lang.String |
Symbol
Trading instrument.
|
double |
TakeProfit
Take profit.
|
int |
Ticket
Ticket number.
|
Op |
Type
Order type.
|
Constructor and Description |
---|
Order() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Convert to string
|
public int Ticket
public java.time.LocalDateTime OpenTime
public java.time.LocalDateTime CloseTime
public java.time.LocalDateTime Expiration
public Op Type
public double Lots
public java.lang.String Symbol
public double OpenPrice
public double StopLoss
public double TakeProfit
public double ClosePrice
public int MagicNumber
public double Swap
public double Commission
public java.lang.String Comment
public double Profit
public double RateOpen
public double RateClose
public double RateMargin
public TradeRecord Ex