Suoranta.Finance Namespace
Suoranta.Finance - Developer API

ITimeScale Members

The ITimeScale type exposes the following members.

Methods


  Name Description
Public method Deconstruct
Deconstructs this instance into its BaseUnit and Value.
Public method DivideBy
Divides this instance by [divisor]. Division is made in BaseUnit of the divisor.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetRatioTo
Divides this instance by [divisor]. Division is made in BaseUnit of the divisor. The remainder must be zero.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Properties


  Name Description
Public property BarsInTradingDay
Gets the number of bars in a trading day.
Public property BarsInTradingYear
Gets the number of bars in a trading year.
Public property BaseUnit
Gets the unit of Value.
Public property InHours
Gets the value of ITimeScale in hours.
Public property Ticks
Gets the value of ITimeScale in ticks (100 nanoseconds).
Public property TimeSpan
Gets

Field Value

the equivalent TimeSpan.
Public property Value
Gets the value in BaseUnits.