countback: number of bars (higher priority than from) starting with to.to: unix timestamp (UTC) of rightmost required bar (not inclusive).from: unix timestamp (UTC) of leftmost required bar.Request: GET /history?symbol=&from=&to=&resolution=&countback= Note: this call will be requested if your data feed sent supports_group_request: false and supports_search: true in the configuration data. The maximum number of symbols in a responseĮxample: GET /search?query=AA&type=stock&exchange=NYSE&limit=15Ī response is expected to be an array of symbol objects as in respective JS API call One of the exchanges supported by your back-end One of the symbol types supported by your back-end Text typed by the user in the Symbol Search edit box Request: GET /search?query=&type=&exchange=&limit= If your symbol list has more than a few items, please consider supporting symbol search / individual symbol resolve instead.Įxample: GET /symbols?symbol=AAL, GET /symbols?symbol=NYSE:MSFTĪ JSON response of the same structure as SymbolInfo When using this mode of receiving data (getting large amount of symbol data) your browser will keep the data that wasn't even requested by the user. In the event that your data feed does not support the requested symbol group (which should not happen if your response to request #1 (supported groups) is correct) you may expect a 404 error. This call will be used if your data feed sent supports_group_request: true in the configuration data or didn't respond to the configuration request at all. Here is an example of data feed response to GET /symbol_info?group=NYSE request: has-no-volume (NOTE: has-no-volume is deprecated and will be removed in future releases, use visible-plots-set instead).minmovement2 / minmov2 (NOTE: minmov2 is deprecated and will be removed in future releases).minmovement / minmov (NOTE: minmov is deprecated and will be removed in future releases).The response structure is similar (but not equal) to SymbolInfo so please read the description to learn about the details of each field. ℹ️About GitHub Wiki SEE, a search engine enabler for GitHub WikisĪs GitHub blocks most GitHub Wikis from search engines.Response: Response is expected to be an object with properties listed below.Įach property is treated as table column, as described above (see response-as-a-table). ⚠️ ** Fallback** ⚠️ □️ Page Index for this GitHub Wiki This is a frequency of requests that the data feed will send to the server in milliseconds. This is a URL of a data server that will receive requests and return data. Should be present only when s = 'error'ĭatafeeds.UDFCompatibleDatafeed = function(datafeedURL, updateFrequency) datafeedURL Response: Numeric unix time without milliseconds.Įxample: GET /quotes?symbols=NYSE%3AAA%2CNYSE%3AF%2CNasdaqNM%3AAAPLĪ response is an object with the following keys. Note: this call will be requested if your data feed sent supports_timescale_marks: true in the configuration data. For possible values see the TimeScaleMarkShape type in the TypeScript type definitions. label: a letter to be displayed in a circle.to: unix timestamp (UTC) or rightmost visible barĪ response is expected to be an array of objects with properties listed below.from: unix timestamp (UTC) or leftmost visible bar.Request: GET /timescale_marks?symbol=&from=&to=&resolution= Note: this call will be requested if your data feed sent supports_marks: true in the configuration data.
0 Comments
Leave a Reply. |