C# Класс Krs.Ats.IBNet.OrderStatusEventArgs

Наследование: System.EventArgs
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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