C# Class Krs.Ats.IBNet.OrderStatusEventArgs

Inheritance: System.EventArgs
显示文件 Open project: qusma/ib-csharp Class Usage Examples

Public Methods

Method Description
OrderStatusEventArgs ( ) : System

Parameterless OrderStatusEventArgs Constructor for serialization

OrderStatusEventArgs ( int orderId, OrderStatus status, double filled, double remaining, decimal averageFillPrice, int permId, int parentId, decimal lastFillPrice, int clientId, string whyHeld ) : System

Full Constructor

Method Details

OrderStatusEventArgs() public method

Parameterless OrderStatusEventArgs Constructor for serialization
public OrderStatusEventArgs ( ) : System
return System

OrderStatusEventArgs() public method

Full Constructor
public OrderStatusEventArgs ( int orderId, OrderStatus status, double filled, double remaining, decimal averageFillPrice, int permId, int parentId, decimal lastFillPrice, int clientId, string whyHeld ) : System
orderId int The order Id that was specified previously in the call to placeOrder().
status OrderStatus The order status.
filled double Specifies the number of shares that have been executed.
remaining double Specifies the number of shares still outstanding.
averageFillPrice decimal The average price of the shares that have been executed. /// This parameter is valid only if the filled parameter value /// is greater than zero. Otherwise, the price parameter will be zero.
permId int The TWS id used to identify orders. Remains the same over TWS sessions.
parentId int The order ID of the parent order, used for bracket and auto trailing stop orders.
lastFillPrice decimal The last price of the shares that have been executed. This parameter is valid /// only if the filled parameter value is greater than zero. Otherwise, the price parameter will be zero.
clientId int The ID of the client (or TWS) that placed the order. /// The TWS orders have a fixed clientId and orderId of 0 that distinguishes them from API orders.
whyHeld string This field is used to identify an order held when TWS is trying to locate shares for a short sell. /// The value used to indicate this is 'locate'.
return System