Skip to main content

OrderInfo

Package: velox.api.layer1.data

Type: Class

Inheritance: java.lang.Object → velox.api.layer1.data.OrderInfo

All Implemented Interfaces: Serializable, MultiAccountAware

Direct Known Subclasses: OrderInfoUpdate

Description​

Cumulative information about the order

See Also:

  • Serialized Form

Fields​

instrumentAlias​

public final String instrumentAlias

orderId​

public final String orderId

isBuy​

public final boolean isBuy

type​

public final OrderType type

clientId​

public final String clientId

exchangeId​

public final String exchangeId

doNotIncrease​

public final boolean doNotIncrease

filled​

public final int filled

unfilled​

public final int unfilled

averageFillPrice​

public final double averageFillPrice

duration​

public final OrderDuration duration

status​

public final OrderStatus status

limitPrice​

public final double limitPrice

stopPrice​

public final double stopPrice

stopTriggered​

public final boolean stopTriggered

modificationUtcTime​

public final long modificationUtcTime

isSimulated​

public final boolean isSimulated

isDuplicate​

public final boolean isDuplicate

Order can be duplicated in case of crosstrading

accountId​

public final String accountId

Account id to identify which account this order info belongs to. Null if there is no multi-account support (only single account is supported by the data provider). Should not mix nulls and specific account in the same data provider.

Constructors​

OrderInfo​

@Deprecated
public OrderInfo(String instrumentAlias, String orderId, boolean isBuy, OrderType type, String clientId, boolean doNotIncrease, int filled, int unfilled, double averageFillPrice, OrderDuration duration, OrderStatus status, double limitPrice, double stopPrice, boolean stopTriggered, long modificationUtcTime)

Deprecated: Use builder instead

OrderInfo​

@Deprecated
public OrderInfo(String instrumentAlias, String orderId, boolean isBuy, OrderType type, String clientId, boolean doNotIncrease, int filled, int unfilled, double averageFillPrice, OrderDuration duration, OrderStatus status, double limitPrice, double stopPrice, boolean stopTriggered, long modificationUtcTime, boolean isSimulated)

Deprecated: Use builder instead

OrderInfo​

@Deprecated
public OrderInfo(String instrumentAlias, String orderId, boolean isBuy, OrderType type, String clientId, boolean doNotIncrease, int filled, int unfilled, double averageFillPrice, OrderDuration duration, OrderStatus status, double limitPrice, double stopPrice, boolean stopTriggered, long modificationUtcTime, boolean isSimulated, boolean isDuplicate)

Deprecated: Use builder instead

Methods​

getTradingAccountId​

public String getTradingAccountId()

Specified by: getTradingAccountId in interface MultiAccountAware


Methods inherited from class java.lang.Object:

  • clone()
  • equals(Object)
  • finalize()
  • getClass()
  • hashCode()
  • notify()
  • notifyAll()
  • toString()
  • wait()
  • wait(long)
  • wait(long, int)