Builds and maintains a DOM for a connector
Allows to obtain best prices if connector does not give them
More...
Classes | |
| class | DomChangesTracker |
Public Member Functions | |
| Dictionary< decimal, MarketDepth >? | GetDom (string securityCode) |
| ICollection< string > | RecordedInstruments () |
| DomChangesTracker | BeginChanges (string securityCode) |
Initiates changes in the DOM by returning a special object DomChangesTrackerAfter tracking, call GetChanges() to commit all changes to the parent dom builder. | |
| void | Clear () |
| void | Clear (string securityCode) |
| MarketDepth?? MarketDepth BestAsk | GetBestPricesFor (string securityCode) |
Public Attributes | |
| MarketDepth? | BestBid |
| Returns a tuple of best Bid and Ask prices, or null Double nulls are possible if no DOM were loaded yet. | |
Protected Attributes | |
| readonly Dictionary< string, Dictionary< decimal, MarketDepth > > | _domBySecurity = new() |
Builds and maintains a DOM for a connector
Allows to obtain best prices if connector does not give them
This class is intended to use in thread safe environment
| DomChangesTracker ATAS.DataFeedsCore.Dom.DomBuilder.BeginChanges | ( | string | securityCode | ) |
Initiates changes in the DOM by returning a special object DomChangesTracker
After tracking, call GetChanges() to commit all changes to the parent dom builder.
| securityCode |
| void ATAS.DataFeedsCore.Dom.DomBuilder.Clear | ( | ) |
| void ATAS.DataFeedsCore.Dom.DomBuilder.Clear | ( | string | securityCode | ) |
| MarketDepth?? MarketDepth BestAsk ATAS.DataFeedsCore.Dom.DomBuilder.GetBestPricesFor | ( | string | securityCode | ) |
| Dictionary< decimal, MarketDepth >? ATAS.DataFeedsCore.Dom.DomBuilder.GetDom | ( | string | securityCode | ) |
| ICollection< string > ATAS.DataFeedsCore.Dom.DomBuilder.RecordedInstruments | ( | ) |
|
protected |
| MarketDepth? ATAS.DataFeedsCore.Dom.DomBuilder.BestBid |
Returns a tuple of best Bid and Ask prices, or null
Double nulls are possible if no DOM were loaded yet.
| securityCode |