Click or drag to resize

Trade Class

Tick trade.
Inheritance Hierarchy
SystemObject
  CloneableTrade
    StockSharp.BusinessEntitiesTrade

Namespace:  StockSharp.BusinessEntities
Assembly:  StockSharp.BusinessEntities (in StockSharp.BusinessEntities.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
[SerializableAttribute]
public class Trade : Cloneable<Trade>, 
	IExtendableEntity

The Trade type exposes the following members.

Constructors
  NameDescription
Public methodTrade
Initializes a new instance of the Trade.
Top
Properties
  NameDescription
Public propertyCurrency
Trading security currency.
Public propertyExtensionInfo
Extended trade info.
Public propertyId
Trade ID.
Public propertyIsSystem
Is a system trade.
Public propertyIsUpTick
Is tick ascending or descending in price.
Public propertyLocalTime
Trade received local time.
Public propertyOpenInterest
Number of open positions (open interest).
Public propertyOrderDirection
Order side (buy or sell), which led to the trade.
Public propertyPrice
Trade price.
Public propertySecurity
The instrument, on which the trade was completed.
Public propertyStatus
System trade status.
Public propertyStringId
Trade ID (as string, if electronic board does not use numeric order ID representation).
Public propertyTime
Trade time.
Public propertyVolume
Number of contracts in the trade.
Top
Methods
  NameDescription
Public methodClone
Create a copy of Trade.
(Overrides Cloneable.Clone.)
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
Get the hash code of the object Trade.
(Overrides ObjectGetHashCode.)
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.
(Overrides ObjectToString.)
Top
Extension Methods
See Also