Click or drag to resize

CWormsOrderCache Class

Contains all WORMS orders the the user has permission to see.
Inheritance Hierarchy
SystemObject
  Woti.OrdersCWormsOrderCache

Namespace: Woti.Orders
Assembly: Woti (in Woti.dll) Version: 13.4.259.0
Syntax
[GuidAttribute("1FEE9841-1F03-40c5-9954-213EED40F752")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class CWormsOrderCache : IWormsOrderCache, 
	IDisposable

The CWormsOrderCache type exposes the following members.

Properties
 NameDescription
Public propertyOrdersAll visible CWormsOrders currently in the system.
Public propertySizeThe number of orders in the cache.
Public propertySize_vbaThe number of orders in the cache. For 32-bit Excel.
Public propertyStatusA human-readable status string (including number of orders and unacked events.)
Top
Methods
 NameDescription
Public methodContainsEventReturns true if the Event exists in the cache (case sensitive)
Public methodContainsOrderReturns true if the Order exists in the cache (case sensitive)
Public methodDispose 
Public methodGetEventA single IWormsEvent from the cache.
Public methodGetOrderA single IWormsOrder from the cache.
Public methodGetWaveIdRangeReturns all CWormsOrders that share the specified Wave ID.
Public methodIsEventUnackedTrue if the event has been acknowledged by the system.
Public methodIsOrderOpen Returns true if the order has been assigned an orderID by the WORMS client and has not been NAcked by the WORMS system, nor has it been Cancelled, Rejected, or completely filled at the exchange.
Top
Events
 NameDescription
Public eventOrderRemovedThis fires when an order has been removed from the cache.
Public eventOrdersRefreshedThis fires after all orders have been loaded into the cache.
Public eventOrdersReleasedThis fires before all orders are cleared from the cache.
Public eventOrderUpdatedThis fires when a viewable order is updated. It provides references to the specific event which triggered the update as well as the affected CWormsOrder. It also indicates whether or not this update is a part of a batch. See Remarks for more details.
Top
See Also