ATAS
Loading...
Searching...
No Matches
ATAS.DataFeedsCore.Exchange Class Reference
Inheritance diagram for ATAS.DataFeedsCore.Exchange:
[legend]
Collaboration diagram for ATAS.DataFeedsCore.Exchange:
[legend]

Public Member Functions

 Exchange ()
 
bool IsWorkingTime (DateTime time)
 
bool IsNewSession (DateTime prevTime, DateTime newTime)
 
bool IsNewWeek (DateTime prevTime, DateTime newTime)
 
bool IsNewMonth (DateTime prevTime, DateTime newTime)
 
WorkingTime GetWorkingTime (DateTime time)
 
DateTime? GetNextSessionOpen (DateTime time)
 
DateTime? GetPreviousSessionClose (DateTime time)
 
DateTime?? DateTime MaxTradedTime TrimToMinTradedRange (DateTime from, DateTime to)
 
Tuple< DateTime, DateTime > GetWorkingDateTime (DateTime time)
 
DateTime ToLocalTime (DateTime time)
 
DateTime ToUtcTime (DateTime time)
 
Exchange Clone ()
 
override string ToString ()
 Returns a string that represents the current object.
 
bool IsNewSession (DateTime prevTime, DateTime newTime)
 
bool IsNewWeek (DateTime prevTime, DateTime newTime)
 
bool IsNewMonth (DateTime prevTime, DateTime newTime)
 

Public Attributes

DateTime? MinTradedTime
 

Protected Member Functions

virtual void OnPropertyChanged (string propertyName)
 

Properties

string Code [get, set]
 
string ExchangeCode [get, set]
 
string Name [get, set]
 
string Country [get, set]
 
string TimeZone [get, set]
 
TimeZoneInfo TimeZoneInfo [get, set]
 
List< WorkingTimeWorkingTimes [get, set]
 
bool ConvertTradeTimeToLocal [get, set]
 
DayOfWeek FirstDayOfWeek [get, set]
 
bool IsSystemExchange [get, set]
 
EntityType EntityType [get]
 Gets the type of the entity.
 
- Properties inherited from ATAS.DataFeedsCore.IEntity
EntityType EntityType [get]
 Gets the type of the entity.
 

Events

PropertyChangedEventHandler PropertyChanged
 

Constructor & Destructor Documentation

◆ Exchange()

ATAS.DataFeedsCore.Exchange.Exchange ( )

Member Function Documentation

◆ Clone()

Exchange ATAS.DataFeedsCore.Exchange.Clone ( )

◆ GetNextSessionOpen()

DateTime? ATAS.DataFeedsCore.Exchange.GetNextSessionOpen ( DateTime  time)

◆ GetPreviousSessionClose()

DateTime? ATAS.DataFeedsCore.Exchange.GetPreviousSessionClose ( DateTime  time)

◆ GetWorkingDateTime()

Tuple< DateTime, DateTime > ATAS.DataFeedsCore.Exchange.GetWorkingDateTime ( DateTime  time)

◆ GetWorkingTime()

WorkingTime ATAS.DataFeedsCore.Exchange.GetWorkingTime ( DateTime  time)

◆ IsNewMonth()

bool ATAS.DataFeedsCore.Exchange.IsNewMonth ( DateTime  prevTime,
DateTime  newTime 
)

◆ IsNewSession()

bool ATAS.DataFeedsCore.Exchange.IsNewSession ( DateTime  prevTime,
DateTime  newTime 
)

◆ IsNewWeek()

bool ATAS.DataFeedsCore.Exchange.IsNewWeek ( DateTime  prevTime,
DateTime  newTime 
)

◆ IsWorkingTime()

bool ATAS.DataFeedsCore.Exchange.IsWorkingTime ( DateTime  time)

◆ OnPropertyChanged()

virtual void ATAS.DataFeedsCore.Exchange.OnPropertyChanged ( string  propertyName)
protectedvirtual

◆ ToLocalTime()

DateTime ATAS.DataFeedsCore.Exchange.ToLocalTime ( DateTime  time)

◆ ToString()

override string ATAS.DataFeedsCore.Exchange.ToString ( )

Returns a string that represents the current object.

Returns
A string that represents the current object.

◆ ToUtcTime()

DateTime ATAS.DataFeedsCore.Exchange.ToUtcTime ( DateTime  time)

◆ TrimToMinTradedRange()

DateTime?? DateTime MaxTradedTime ATAS.DataFeedsCore.Exchange.TrimToMinTradedRange ( DateTime  from,
DateTime  to 
)

Member Data Documentation

◆ MinTradedTime

DateTime? ATAS.DataFeedsCore.Exchange.MinTradedTime

Property Documentation

◆ Code

string ATAS.DataFeedsCore.Exchange.Code
getset

◆ ConvertTradeTimeToLocal

bool ATAS.DataFeedsCore.Exchange.ConvertTradeTimeToLocal
getset

◆ Country

string ATAS.DataFeedsCore.Exchange.Country
getset

◆ EntityType

EntityType ATAS.DataFeedsCore.Exchange.EntityType
get

Gets the type of the entity.

Implements ATAS.DataFeedsCore.IEntity.

◆ ExchangeCode

string ATAS.DataFeedsCore.Exchange.ExchangeCode
getset

◆ FirstDayOfWeek

DayOfWeek ATAS.DataFeedsCore.Exchange.FirstDayOfWeek
getset

◆ IsSystemExchange

bool ATAS.DataFeedsCore.Exchange.IsSystemExchange
getset

◆ Name

string ATAS.DataFeedsCore.Exchange.Name
getset

◆ TimeZone

string ATAS.DataFeedsCore.Exchange.TimeZone
getset

◆ TimeZoneInfo

TimeZoneInfo ATAS.DataFeedsCore.Exchange.TimeZoneInfo
getset

◆ WorkingTimes

List<WorkingTime> ATAS.DataFeedsCore.Exchange.WorkingTimes
getset

Event Documentation

◆ PropertyChanged

PropertyChangedEventHandler ATAS.DataFeedsCore.Exchange.PropertyChanged

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