The Trade type exposes the following members.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
BuyingPowerChange
The change in the account's buying power resulting from this trade
Commission
The commission that was paid on the trade
Description
A user-definable description for the trade.
FilledTime
The time at which the trade was executed
Order
The order (if any) associated with the trade.
OrderType
The order type that caused the trade to be executed (market, limit, etc.)
PositionStats
The position statistics (size, entry price, etc.) as of the time this trade was completed.
Price
The price at which the trade was executed
Size
The number of shares or contracts in the trade
TradeIndex
The index of this trade in the list of trades for the position.
TradeType
The type of trade.
TransactionType
The transaction type (Buy, Sell, Short, or Cover)

See Also