CQG API 4.0 - Revised
DOMAsks Property
See Also  Send Feedback
CQGInstrument Interface : DOMAsks Property

Glossary Item Box

Description

Returns asks of current DOM book.

Property type

Read-only property

Syntax

Visual Basic
Public Property DOMAsks As CQGDOMQuotes

Return Type

Collection of DOM quotes

Remarks

This collection is empty until the instrument data subscription level is set to dsQuotesAndDOM

After that, on each DOM update, new DOM book asks will be stored here.

If later the subscription level is changed again, the collection's last content will be preserved - collection will not be reset.

 

Note: Not all of the instruments have DOM support. If such instrument's subscription level is set to dsQuotesAndDOM, its DOMAsks collection will remain empty.

Example

To work with DOM collections, see the example section of InstrumentDOMChanged Event.

To work with quotes, see the example section of the InstrumentChanged event.

See Also