Loading...
Searching...
No Matches
ATAS.Indicators.SmartDom.ISmartDomColumnContext Interface Reference

Read-only view of the SmartDOM a SmartDomColumn is shown in: the instrument, the order book, the visible price range and the drawing resources. Available through SmartDomColumn.Context from SmartDomColumn.OnInitialize on. The members may be read from any column callback. More...

Public Member Functions

decimal GetBidVolume (decimal price)
 Volume of the bid level shown in the row of price ; 0 if there is none.
 
decimal GetAskVolume (decimal price)
 Volume of the ask level shown in the row of price ; 0 if there is none.
 
IReadOnlyList< MarketDataArg > GetDepth (bool isAsk)
 Snapshot of the bid (isAsk = false) or ask levels of the order book.
 
string FormatPrice (decimal price)
 Formats a price the way the SmartDOM shows prices of the instrument.
 
string FormatVolume (decimal volume)
 Formats a volume the way the SmartDOM shows volumes (user's volume format, K/M shortening).
 
int? GetY (decimal price)
 Top Y coordinate of the row of price in the last drawn frame, or null if the row is not visible.
 
decimal GetPrice (int y)
 Price of the row at the Y coordinate y .
 
void Redraw ()
 Asks the SmartDOM to draw a new frame.
 

Properties

IInstrumentInfo? Instrument [get]
 The instrument the SmartDOM displays — the one whose order book, trades and prices the column receives — or null while none is selected. For cross-trading and synthetic instruments this is the displayed (data) instrument, not the one orders are sent to. IInstrumentInfo.TimeZone / IInstrumentInfo.TimeZoneOffset are the time zone set for the instrument in the platform, as chart indicators of the instrument get them (0 for an instrument the platform does not know, e.g. a synthetic one).
 
decimal TickSize [get]
 Minimum price step of the displayed instrument.
 
int Scale [get]
 Number of ticks combined into one price row.
 
decimal RowPriceStep [get]
 Price distance between two neighbouring rows (TickSize × Scale).
 
decimal VisibleHigh [get]
 Price of the topmost row of the last drawn frame.
 
decimal VisibleLow [get]
 Price of the bottom row of the last drawn frame.
 
int RowHeight [get]
 Row height in pixels.
 
MarketDataArg? BestBid [get]
 Best bid (price and volume), or null while unknown.
 
MarketDataArg? BestAsk [get]
 Best ask (price and volume), or null while unknown.
 
MarketDataArg? LastTrade [get]
 The last trade, or null while there were no trades.
 
decimal CumulativeBids [get]
 Total volume of the bid levels shown in the SmartDOM.
 
decimal CumulativeAsks [get]
 Total volume of the ask levels shown in the SmartDOM.
 
decimal MaxBidVolume [get]
 Largest volume of a bid level shown in the SmartDOM.
 
decimal MaxAskVolume [get]
 Largest volume of an ask level shown in the SmartDOM.
 
decimal HighOfDay [get]
 High of the current day.
 
decimal LowOfDay [get]
 Low of the current day.
 
RenderFont Font [get]
 Font of the cell texts selected by the user for the SmartDOM.
 
RenderFont BoldFont [get]
 Bold variant of Font.
 
RenderFont HeaderFont [get]
 Font of the column headers.
 
RenderStringFormat TextFormat [get]
 Text alignment of the cell texts selected by the user for the SmartDOM.
 
Color BackgroundColor [get]
 Background color of the SmartDOM.
 
Color HeaderBackgroundColor [get]
 Background color of the column headers.
 
Color HeaderTextColor [get]
 Text color of the column headers.
 

Detailed Description

Read-only view of the SmartDOM a SmartDomColumn is shown in: the instrument, the order book, the visible price range and the drawing resources. Available through SmartDomColumn.Context from SmartDomColumn.OnInitialize on. The members may be read from any column callback.

Member Function Documentation

◆ FormatPrice()

string ATAS.Indicators.SmartDom.ISmartDomColumnContext.FormatPrice ( decimal  price)

Formats a price the way the SmartDOM shows prices of the instrument.

◆ FormatVolume()

string ATAS.Indicators.SmartDom.ISmartDomColumnContext.FormatVolume ( decimal  volume)

Formats a volume the way the SmartDOM shows volumes (user's volume format, K/M shortening).

◆ GetAskVolume()

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.GetAskVolume ( decimal  price)

Volume of the ask level shown in the row of price ; 0 if there is none.

◆ GetBidVolume()

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.GetBidVolume ( decimal  price)

Volume of the bid level shown in the row of price ; 0 if there is none.

◆ GetDepth()

IReadOnlyList< MarketDataArg > ATAS.Indicators.SmartDom.ISmartDomColumnContext.GetDepth ( bool  isAsk)

Snapshot of the bid (isAsk = false) or ask levels of the order book.

◆ GetPrice()

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.GetPrice ( int  y)

Price of the row at the Y coordinate y .

◆ GetY()

int? ATAS.Indicators.SmartDom.ISmartDomColumnContext.GetY ( decimal  price)

Top Y coordinate of the row of price in the last drawn frame, or null if the row is not visible.

◆ Redraw()

void ATAS.Indicators.SmartDom.ISmartDomColumnContext.Redraw ( )

Asks the SmartDOM to draw a new frame.

Property Documentation

◆ BackgroundColor

Color ATAS.Indicators.SmartDom.ISmartDomColumnContext.BackgroundColor
get

Background color of the SmartDOM.

◆ BestAsk

MarketDataArg? ATAS.Indicators.SmartDom.ISmartDomColumnContext.BestAsk
get

Best ask (price and volume), or null while unknown.

◆ BestBid

MarketDataArg? ATAS.Indicators.SmartDom.ISmartDomColumnContext.BestBid
get

Best bid (price and volume), or null while unknown.

◆ BoldFont

RenderFont ATAS.Indicators.SmartDom.ISmartDomColumnContext.BoldFont
get

Bold variant of Font.

◆ CumulativeAsks

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.CumulativeAsks
get

Total volume of the ask levels shown in the SmartDOM.

◆ CumulativeBids

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.CumulativeBids
get

Total volume of the bid levels shown in the SmartDOM.

◆ Font

RenderFont ATAS.Indicators.SmartDom.ISmartDomColumnContext.Font
get

Font of the cell texts selected by the user for the SmartDOM.

◆ HeaderBackgroundColor

Color ATAS.Indicators.SmartDom.ISmartDomColumnContext.HeaderBackgroundColor
get

Background color of the column headers.

◆ HeaderFont

RenderFont ATAS.Indicators.SmartDom.ISmartDomColumnContext.HeaderFont
get

Font of the column headers.

◆ HeaderTextColor

Color ATAS.Indicators.SmartDom.ISmartDomColumnContext.HeaderTextColor
get

Text color of the column headers.

◆ HighOfDay

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.HighOfDay
get

High of the current day.

◆ Instrument

IInstrumentInfo? ATAS.Indicators.SmartDom.ISmartDomColumnContext.Instrument
get

The instrument the SmartDOM displays — the one whose order book, trades and prices the column receives — or null while none is selected. For cross-trading and synthetic instruments this is the displayed (data) instrument, not the one orders are sent to. IInstrumentInfo.TimeZone / IInstrumentInfo.TimeZoneOffset are the time zone set for the instrument in the platform, as chart indicators of the instrument get them (0 for an instrument the platform does not know, e.g. a synthetic one).

◆ LastTrade

MarketDataArg? ATAS.Indicators.SmartDom.ISmartDomColumnContext.LastTrade
get

The last trade, or null while there were no trades.

◆ LowOfDay

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.LowOfDay
get

Low of the current day.

◆ MaxAskVolume

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.MaxAskVolume
get

Largest volume of an ask level shown in the SmartDOM.

◆ MaxBidVolume

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.MaxBidVolume
get

Largest volume of a bid level shown in the SmartDOM.

◆ RowHeight

int ATAS.Indicators.SmartDom.ISmartDomColumnContext.RowHeight
get

Row height in pixels.

◆ RowPriceStep

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.RowPriceStep
get

Price distance between two neighbouring rows (TickSize × Scale).

◆ Scale

int ATAS.Indicators.SmartDom.ISmartDomColumnContext.Scale
get

Number of ticks combined into one price row.

◆ TextFormat

RenderStringFormat ATAS.Indicators.SmartDom.ISmartDomColumnContext.TextFormat
get

Text alignment of the cell texts selected by the user for the SmartDOM.

◆ TickSize

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.TickSize
get

Minimum price step of the displayed instrument.

◆ VisibleHigh

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.VisibleHigh
get

Price of the topmost row of the last drawn frame.

◆ VisibleLow

decimal ATAS.Indicators.SmartDom.ISmartDomColumnContext.VisibleLow
get

Price of the bottom row of the last drawn frame.


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