Does anyone have any idea how and whether the Nasdaq Retail Trading Activity Tracker (https://data.nasdaq.com/databases/RTAT) could/should be integrated into WL8 in some way so that it could be used to generate useful added value?
Rename
Before Nasdaq acquired it, this used to be a company called Quandl. So this should be supported via our Quandl indicator in Data Extensions.
Took a closer look, and this element uses the Nasdaq Data Link "Tables" API, so it's not supported by our Data Extensions. We support items in the Nasdaq Data Link "Timeseries" APIs.
But it's pretty trivial to get a value from your Strategy, here's a start, you'll just need to parse the result:
Note: replace the XXXXXXXX with your own API Key.
//create indicators and other objects here, this is executed prior to the main trading loop
public override void Initialize(BarHistory bars)
{
string url = "https://data.nasdaq.com/api/v3/datatables/NDAQ/RTAT10?date=2024-01-30&ticker=" + bars.Symbol + "&api_key=XXXXXXXX";
string s = HttpServiceConsumer.ConsumeGetRequest(url);
WriteToDebugLog(s);
}
Note: replace the XXXXXXXX with your own API Key.
//create indicators and other objects here, this is executed prior to the main trading loop
public override void Initialize(BarHistory bars)
{
string url = "https://data.nasdaq.com/api/v3/datatables/NDAQ/RTAT10?date=2024-01-30&ticker=" + bars.Symbol + "&api_key=XXXXXXXX";
string s = HttpServiceConsumer.ConsumeGetRequest(url);
WriteToDebugLog(s);
}
Your Response
Post
Edit Post
Login is required