1.1 - Get financial underlying EOD¶
Request¶
| Method | URL |
|---|---|
| GET | https://api.infotrie.com/api/idata/get_financial_underlying_eod |
Send your InfoTrie API key in the X-API-Key header; a console key needs the market_data scope. The legacy AppKey header is refused with a 401.
Parameters¶
| Params | Type | Values |
|---|---|---|
| start_date | String | First day of the window, inclusive, in yyyy-mm-dd format (yyyy/mm/dd is also accepted). Sent alone, the window runs to the latest bar. |
| end_date | String | Last day of the window, inclusive, in yyyy-mm-dd format (yyyy/mm/dd is also accepted). Sent alone, every bar up to it is returned. |
| ndays | Number (integer) | Used only when both dates are omitted: a window of ndays days ending yesterday (UTC), 1 to 3650. Default value = 2 |
| symbol_code | String | Company symbol code, mandatory. Follows the Bloomberg standards. |
| exchange_code | String | Standard exchange code, mandatory. Follows the Bloomberg standards. |
| symbol_type | String | Type of the symbol, exact match. Default value = Common Stock, always applied: for any other type, such as ETF, send it. |
| company_id | Number (integer) | InfoTrie company identifier, optional: narrows the result further. |
| isin | String | ISIN, optional: narrows the result further. |
| is_delisted | Number (integer) | 1 reads delisted instruments instead of listed ones. Default value = 0 |
Any other parameter is refused with a 400 that names the accepted ones.