C# 클래스 Krs.Ats.IBNet.OrderStatusEventArgs

상속: System.EventArgs
파일 보기 프로젝트 열기: qusma/ib-csharp 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

OrderStatusEventArgs() 공개 메소드

Parameterless OrderStatusEventArgs Constructor for serialization
public OrderStatusEventArgs ( ) : System
리턴 System

OrderStatusEventArgs() 공개 메소드

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'.
리턴 System