C# Class Krs.Ats.IBNet.Execution

Show file Open project: qusma/ib-csharp Class Usage Examples

Public Methods

Method Description
Execution ( ) : System

Default Constructor

Execution ( int orderId, int clientId, String executionId, String time, String accountNumber, String exchange, ExecutionSide side, int shares, double price, int permId, int liquidation, int cumQuantity, decimal avgPrice, string orderRef ) : System

Full Constructor

Method Details

Execution() public method

Default Constructor
public Execution ( ) : System
return System

Execution() public method

Full Constructor
public Execution ( int orderId, int clientId, String executionId, String time, String accountNumber, String exchange, ExecutionSide side, int shares, double price, int permId, int liquidation, int cumQuantity, decimal avgPrice, string orderRef ) : System
orderId int The order id.
clientId int TWS orders have a fixed client id of "0."
executionId String Unique order execution id.
time String The order execution time.
accountNumber String The customer account number.
exchange String Exchange that executed the order.
side ExecutionSide Specifies if the transaction was a sale or a purchase.
shares int The number of shares filled.
price double The order execution price.
permId int The TWS id used to identify orders, remains the same over TWS sessions.
liquidation int Identifies the position as one to be liquidated last should the need arise.
cumQuantity int Cumulative quantity. Used in regular trades, combo trades and legs of the combo.
avgPrice decimal Average price. Used in regular trades, combo trades and legs of the combo.
orderRef string Order Reference
return System