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)