Loading...
Searching...
No Matches
ATAS.Indicators.InstrumentInfo Class Reference

Implementation of the IInstrumentInfo interface representing instrument information. More...

Inheritance diagram for ATAS.Indicators.InstrumentInfo:
[legend]
Collaboration diagram for ATAS.Indicators.InstrumentInfo:
[legend]

Public Member Functions

 InstrumentInfo (string instrument, string exchange, decimal tickSize, int timeZone)
 Constructor to create an InstrumentInfo object with the specified parameters.
 

Properties

string Instrument [get]
 Gets the name of the instrument.
 
string Exchange [get]
 Gets the name of the exchange where the instrument is traded.
 
decimal TickSize [get]
 Gets the tick size of the instrument, which is the minimum price movement.
 
TimeSpan TimeZoneOffset [get, set]
 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.
 
int TimeZone [get, set]
 Gets the time zone of the instrument, rounded to whole hours. For fractional zones (e.g. UTC+5:30) use TimeZoneOffset.
 
- Properties inherited from ATAS.Indicators.IInstrumentInfo
string Instrument [get]
 Gets the name of the instrument.
 
string Exchange [get]
 Gets the name of the exchange where the instrument is traded.
 
decimal TickSize [get]
 Gets the tick size of the instrument, which is the minimum price movement.
 
int TimeZone [get]
 Gets the time zone of the instrument, rounded to whole hours. For fractional zones (e.g. UTC+5:30) use TimeZoneOffset.
 
TimeSpan TimeZoneOffset [get]
 Gets the minute-precision UTC offset applied to the instrument's times. Supports fractional zones such as UTC+5:30. The default implementation falls back to the whole-hour TimeZone value, so pre-existing third-party implementations keep compiling.
 

Detailed Description

Implementation of the IInstrumentInfo interface representing instrument information.

Constructor & Destructor Documentation

◆ InstrumentInfo()

ATAS.Indicators.InstrumentInfo.InstrumentInfo ( string  instrument,
string  exchange,
decimal  tickSize,
int  timeZone 
)

Constructor to create an InstrumentInfo object with the specified parameters.

Parameters
instrumentThe name of the instrument.
exchangeThe name of the exchange where the instrument is traded.
tickSizeThe tick size of the instrument (minimum price movement).
timeZoneThe time zone associated with the instrument.

Property Documentation

◆ Exchange

string ATAS.Indicators.InstrumentInfo.Exchange
get

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

Implements ATAS.Indicators.IInstrumentInfo.

◆ Instrument

string ATAS.Indicators.InstrumentInfo.Instrument
get

Gets the name of the instrument.

Implements ATAS.Indicators.IInstrumentInfo.

◆ TickSize

decimal ATAS.Indicators.InstrumentInfo.TickSize
get

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

Implements ATAS.Indicators.IInstrumentInfo.

◆ TimeZone

int ATAS.Indicators.InstrumentInfo.TimeZone
getset

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

Implements ATAS.Indicators.IInstrumentInfo.

◆ TimeZoneOffset

TimeSpan ATAS.Indicators.InstrumentInfo.TimeZoneOffset
getset

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.

Implements ATAS.Indicators.IInstrumentInfo.


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