The <Quote> Element

Description

Defines a sub-query of the <Quotes> element. It can occur in two forms:

  1. a collection request, or
  2. a single issue request.
As of version 3.0 the Quote element no longer needs an encapsulating <Quotes> element.

<Quote
    collection = string
    date-start = datetime
    date-end = datetime
    mode = "literal"
    changes-since = date
    filter = "literal"
    max-count = integer
    last-issue-id = integer
    exchange = exchange
    ticker = ticker
    ticker-type = ticker type
    delivery-type = "string"
    realtime = boolean />

Attributes

Attribute nameData typeDescription
collectionstring For collection requests, the name of the collection.
date-start Optionaldatetime Gives the date (and time) from when quotes should be returned, and before which quotes should be ignored.
date-end Optionaldatetime Gives the date up to when quotes should be returned. This setting is used in combination with date-start to return historical price data.
mode Optionalliteral (Value = "default|changes|summary|trade")

The output mode; "default" and "changes" generate a structured <Issue> node, and "summary" and "trade" simple <Issue> (bulk) nodes, though with different content.
changes-since Optionaldate In combination with mode changes, the date from when changes are requested.
filter Optionalliteral For collection requests, this indicates a filter on a collection. Can only be used in combination with collection.
max-count Optionalinteger For collection requests, this indicates the maximum number of issues returned. Can only be used in combination with collection.
last-issue-id Optionalinteger For collection requests, this indicates resumes collecting data from the specified collection, max-count issues at a time. Can only be used in combination with collection.
exchange Requiredexchange For single issue queries, this is the exchange identifier for the issue. Cannot be used in combination with collection.
ticker Requiredticker For single issue queries, this is the ticker identifier for the issue. Cannot be used in combination with collection.
ticker-type Optionalticker type For single issue queries, this is the type of ticker classification you wish to use for your request. If this value is omitted, the value of ticker-type will be used. Cannot be used in combination with collection.
delivery-type Optionalstring

Indicates what kind of quotes you want to receive: real-time (realtime), delayed (delay), end of day (endofday), or best allowed (auto), which is the default.

You need a subscription for the particular kind you request.

realtime Optionalboolean yes is equivalent to delivery-type realtime.

Number of occurences

Required (unlimited)

Occurs within

<Quotes> | <TBMDataRequest>

Can contain

None (element is closed).

See also

<Quote> (ticker) | <Quote> (collection) | <BookDepth>