Suoranta.Finance Namespace
Suoranta.Finance - Developer API

TimeScale Members

The TimeScale type exposes the following members.

Constructors


  Name Description
Public method TimeScale(TimeUnit, Int32, Int32, Int32)
Initializes a new instance of the TimeScale struct.
Public method TimeScale(Int64, Int32, Int32)

Methods


  Name Description
Public method CompareTo
Public method Deconstruct
Public method DivideBy
Divides this instance by [divisor]. Division is made in BaseUnit of the divisor.
Public method Equals(TimeSpan)
Public method Equals(Object)
Protected method Finalize (Inherited from Object.)
Public method Static member GetBindableValueObjects
Public method GetHashCode
Public method GetRatioTo
Divides this instance by [divisor]. Division is made in BaseUnit of the divisor. The remainder must be zero.
Public method Static member GetStandardValues
Gets the members of TimeScales.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToShortString
See ToString()()()(). Uses formatter 'S'.
Public method ToString()()()()
See ToString()()()(). Uses formatter 'L'.
Public method ToString(String, IFormatProvider)
Converts to string using format.

Properties


  Name Description
Public property BarsInHour
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.