Query Structure
A typical query in the Roic AI API is structured as follows:
https://api.roic.ai/v1/rql/?
query=
get(
"FIELD(PARAMETERS)"
)
for(
"TICKER EXCHANGE"
)&
"OPTION1=VALUE",
"OPTION2=VALUE",
...,
"APIKEY=VALUE"
Components:
Ticker
The stock symbol and exchange code, e.g., "AAPL US". More information is on the Ticker Syntax page.
Field
The financial data point you want to retrieve. More information is on the Fields page.
Options
Various flags that modify the output (e.g., date visibility, headers). More information is on the Options page.
Last updated
Was this helpful?