The Trade type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyBuyingPowerChange
The change in the account's buying power resulting from this trade
Public propertyCommission
The commission that was paid on the trade
Public propertyDescription
A user-definable description for the trade.
Public propertyFilledTime
The time at which the trade was executed
Public propertyOrder
The order (if any) associated with the trade.
Public propertyOrderType
The order type that caused the trade to be executed (market, limit, etc.)
Public propertyPositionStats
The position statistics (size, entry price, etc.) as of the time this trade was completed.
Public propertyPrice
The price at which the trade was executed
Public propertySize
The number of shares or contracts in the trade
Public propertyTradeIndex
The index of this trade in the list of trades for the position.
Public propertyTradeType
The type of trade.
Public propertyTransactionType
The transaction type (Buy, Sell, Short, or Cover)

See Also