Table of Contents

Class InstrumentInfo

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

Implementation of the IInstrumentInfo interface representing instrument information.

public class InstrumentInfo : IInstrumentInfo
Inheritance
object
InstrumentInfo
Implements
Extension Methods

Constructors

InstrumentInfo(string, string, decimal, int)

Constructor to create an InstrumentInfo object with the specified parameters.

public InstrumentInfo(string instrument, string exchange, decimal tickSize, int timeZone)

Parameters

instrument string

The name of the instrument.

exchange string

The name of the exchange where the instrument is traded.

tickSize decimal

The tick size of the instrument (minimum price movement).

timeZone int

The time zone associated with the instrument.

Properties

Exchange

Gets the name of the exchange where the instrument is traded.

public string Exchange { get; }

Property Value

string

Instrument

Gets the name of the instrument.

public string Instrument { get; }

Property Value

string

TickSize

Gets the tick size of the instrument, which is the minimum price movement.

public decimal TickSize { get; }

Property Value

decimal

TimeZone

Gets the time zone of the instrument, rounded to whole hours. For fractional zones (e.g. UTC+5:30) use TimeZoneOffset.

public int TimeZone { get; set; }

Property Value

int

TimeZoneOffset

Gets or sets the minute-precision UTC offset applied to the instrument's times (supports fractional zones such as UTC+5:30). This is the authoritative value; TimeZone is a rounded whole-hour view of it.

Added in ATAS 8.0.15.

public TimeSpan TimeZoneOffset { get; set; }

Property Value

TimeSpan

Valuation

Gets or sets the service that values the instrument's volumes in money; null when not available.

Not in ATAS 8.0.15 yet: available from the next version.

public IVolumeValuation? Valuation { get; set; }

Property Value

IVolumeValuation