MarketDepthView

StockSharp.Xaml.Grids.Maui

Market depth (order book) view for mobile.

Inherits: ContentView

Constructors

MarketDepthView
public MarketDepthView()
marketDepthView = MarketDepthView()

Creates a new MarketDepthView.

Properties

MaxDepth
public int MaxDepth { get; set; }
value = marketDepthView.MaxDepth
marketDepthView.MaxDepth = value

Gets or sets the maximum depth to display.

SecurityId
public string SecurityId { get; set; }
value = marketDepthView.SecurityId
marketDepthView.SecurityId = value

Gets or sets the security identifier.

ViewModel
public MarketDepthViewModel ViewModel { get; }
value = marketDepthView.ViewModel

Gets the ViewModel.

Methods

Clear
public void Clear()
marketDepthView.Clear()

Clears the order book.

Update
public void Update(IEnumerable<QuoteChange> bids, IEnumerable<QuoteChange> asks, DateTime serverTime)
marketDepthView.Update(bids, asks, serverTime)

Updates the order book from quote changes.

Update
public void Update(QuoteChangeMessage message)
marketDepthView.Update(message)

Updates from a quote change message.

Fields

MaxDepthProperty
public static readonly BindableProperty MaxDepthProperty
value = MarketDepthView.MaxDepthProperty

Max depth bindable property.

SecurityIdProperty
public static readonly BindableProperty SecurityIdProperty
value = MarketDepthView.SecurityIdProperty

Security ID bindable property.