The <Quote> Element
Description
Defines a sub-query of the <Quotes> element. It can occur in two forms:
- a collection request, or
- a single issue request.
<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 name | Data type | Description |
---|---|---|
collection | string | For collection requests, the name of the collection. |
date-start Optional | datetime | Gives the date (and time) from when quotes should be returned, and before which quotes should be ignored. |
date-end Optional | datetime | 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 Optional | literal | (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 Optional | date | In combination with mode changes, the date from when changes are requested. |
filter Optional | literal | For collection requests, this indicates a filter on a collection. Can only be used in combination with collection. |
max-count Optional | integer | For collection requests, this indicates the maximum number of issues returned. Can only be used in combination with collection. |
last-issue-id Optional | integer | 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 Required | exchange | For single issue queries, this is the exchange identifier for the issue. Cannot be used in combination with collection. |
ticker Required | ticker | For single issue queries, this is the ticker identifier for the issue. Cannot be used in combination with collection. |
ticker-type Optional | ticker 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 Optional | string | 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 Optional | boolean | yes is equivalent to delivery-type realtime. |