Description Usage Arguments Value See Also Examples
Retrieve historic news intensities for a language, a date and a company's Reuters Instrument Code or commodities. Note that you need to supply a valid api token.
1 2 3 |
type |
either one of 'companies' or 'commodities' |
language |
Filter news intensity values by language. See the '/languages' endpoint for allowed values. |
date |
Filter news intensity values by date. |
identifiers |
RIC codes for the companies for which you want to query news intensity values or names of commodities for which you want to query news intensity values. See documentation for supported commodities. Note that you cannot mix companies and commodities |
weights |
Weight of each company/commodity in your portfolio in decimal format. Should sum to 1, but the API will still return news intensities if this is not the case. See example section. |
List containing API results
See the documentation at <https://fintxt.github.io/documentation/index.html>
1 2 3 4 5 6 7 | ## Not run:
# historic portfolio endpoint
identifiers = c("TRI.TO", "IBM.N", "RRD.N", "SPGI.N", "INTU.OQ", "RELN.AS", "WLSNc.AS", "REL.L"),
weights = c(0.3, 0.1,0.05,0.05, 0.2,0.1,0.1,0.1)
fintxt_historic_intensities_portfolio("companies", "english", "18-06-2018", identifiers, weights)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.