ATAS
Loading...
Searching...
No Matches
ATAS.DataFeedsCore.MyTrade Class Reference

Represents a trade entity in the system. More...

Inheritance diagram for ATAS.DataFeedsCore.MyTrade:
[legend]
Collaboration diagram for ATAS.DataFeedsCore.MyTrade:
[legend]

Public Member Functions

override string ToString ()
 
string Display ()
 
MyTrade Clone ()
 

Protected Member Functions

void OnPropertyChanged (string name)
 Notifies subscribers that a property value has changed.
 

Properties

EntityType EntityType [get]
 
string Route [get, set]
 Gets or sets the route associated with the trade.
 
string AccountID [get, set]
 Gets or sets the account ID associated with the trade.
 
string SecurityId [get, set]
 Gets or sets the security ID associated with the trade.
 
string Id [get, set]
 Gets or sets the unique ID of the trade.
 
string OrderId [get, set]
 Gets or sets the ID of the order associated with the trade.
 
OrderDirections OrderDirection [get, set]
 Gets or sets the direction of the order (Buy or Sell) associated with the trade.
 
decimal Price [get, set]
 Gets or sets the price at which the trade was executed.
 
DateTime Time [get, set]
 Gets or sets the timestamp of the trade.
 
decimal Volume [get, set]
 Gets or sets the volume of the trade.
 
decimal OpenVolume [get, set]
 Gets or sets the open volume of the trade.
 
Order Order [get, set]
 Gets or sets the order associated with the trade.
 
Security Security [get, set]
 Gets or sets the security associated with the trade.
 
Portfolio Portfolio [get, set]
 Gets or sets the portfolio associated with the trade.
 
object Parent [get, set]
 Gets or sets the parent object associated with the trade.
 
decimal? Commission [get, set]
 Gets or sets the commission amount of the trade.
 
string? CommissionCurrency [get, set]
 Gets or sets the currency of the commission for the trade.
 
bool? IsMaker [get, set]
 Gets or sets whether the trade is a maker trade.
 
bool IsNew [get, set]
 Gets or sets a flag indicating whether the trade is new.
 
- Properties inherited from ATAS.DataFeedsCore.IEntity
EntityType EntityType [get]
 Gets the type of the entity.
 

Events

PropertyChangedEventHandler PropertyChanged
 

Detailed Description

Represents a trade entity in the system.

Member Function Documentation

◆ Clone()

MyTrade ATAS.DataFeedsCore.MyTrade.Clone ( )

◆ Display()

string ATAS.DataFeedsCore.MyTrade.Display ( )

◆ OnPropertyChanged()

void ATAS.DataFeedsCore.MyTrade.OnPropertyChanged ( string  name)
protected

Notifies subscribers that a property value has changed.

Parameters
nameThe name of the property that changed.</para

◆ ToString()

override string ATAS.DataFeedsCore.MyTrade.ToString ( )

Property Documentation

◆ AccountID

string ATAS.DataFeedsCore.MyTrade.AccountID
getset

Gets or sets the account ID associated with the trade.

◆ Commission

decimal? ATAS.DataFeedsCore.MyTrade.Commission
getset

Gets or sets the commission amount of the trade.

◆ CommissionCurrency

string? ATAS.DataFeedsCore.MyTrade.CommissionCurrency
getset

Gets or sets the currency of the commission for the trade.

◆ EntityType

EntityType ATAS.DataFeedsCore.MyTrade.EntityType
get

Gets the entity type, which is EntityType.MyTrade.

Implements ATAS.DataFeedsCore.IEntity.

◆ Id

string ATAS.DataFeedsCore.MyTrade.Id
getset

Gets or sets the unique ID of the trade.

◆ IsMaker

bool? ATAS.DataFeedsCore.MyTrade.IsMaker
getset

Gets or sets whether the trade is a maker trade.

◆ IsNew

bool ATAS.DataFeedsCore.MyTrade.IsNew
getset

Gets or sets a flag indicating whether the trade is new.

◆ OpenVolume

decimal ATAS.DataFeedsCore.MyTrade.OpenVolume
getset

Gets or sets the open volume of the trade.

◆ Order

Order ATAS.DataFeedsCore.MyTrade.Order
getset

Gets or sets the order associated with the trade.

◆ OrderDirection

OrderDirections ATAS.DataFeedsCore.MyTrade.OrderDirection
getset

Gets or sets the direction of the order (Buy or Sell) associated with the trade.

◆ OrderId

string ATAS.DataFeedsCore.MyTrade.OrderId
getset

Gets or sets the ID of the order associated with the trade.

◆ Parent

object ATAS.DataFeedsCore.MyTrade.Parent
getset

Gets or sets the parent object associated with the trade.

◆ Portfolio

Portfolio ATAS.DataFeedsCore.MyTrade.Portfolio
getset

Gets or sets the portfolio associated with the trade.

◆ Price

decimal ATAS.DataFeedsCore.MyTrade.Price
getset

Gets or sets the price at which the trade was executed.

◆ Route

string ATAS.DataFeedsCore.MyTrade.Route
getset

Gets or sets the route associated with the trade.

◆ Security

Security ATAS.DataFeedsCore.MyTrade.Security
getset

Gets or sets the security associated with the trade.

◆ SecurityId

string ATAS.DataFeedsCore.MyTrade.SecurityId
getset

Gets or sets the security ID associated with the trade.

◆ Time

DateTime ATAS.DataFeedsCore.MyTrade.Time
getset

Gets or sets the timestamp of the trade.

◆ Volume

decimal ATAS.DataFeedsCore.MyTrade.Volume
getset

Gets or sets the volume of the trade.

Event Documentation

◆ PropertyChanged

PropertyChangedEventHandler ATAS.DataFeedsCore.MyTrade.PropertyChanged


The documentation for this class was generated from the following file: