Intraday Relative Rotation Graph
curl --request GET \
--url https://api.example.com/api/graph/v1/market/rrgimport requests
url = "https://api.example.com/api/graph/v1/market/rrg"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/graph/v1/market/rrg', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/graph/v1/market/rrg",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/graph/v1/market/rrg"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/graph/v1/market/rrg")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/market/rrg")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"trade_date": "<string>",
"prior_close_date": "<string>",
"phases_completed": 123,
"current_phase": "<string>",
"sectors": [
{
"sector": "<string>",
"etf": "<string>",
"day_change_pct": 123,
"trail": [
{
"phase": "<string>",
"label": "<string>",
"rs_ratio": 123,
"rs_momentum": 123,
"timestamp": "2023-11-07T05:31:56Z",
"breadth_pct": 123
}
],
"live": {
"rs_ratio": 123,
"rs_momentum": 123,
"timestamp": "2023-11-07T05:31:56Z",
"breadth_pct": 123
},
"tooltip": {
"conviction_avg": 123,
"conviction_weight": "equal",
"top_contributor": {
"symbol": "<string>",
"impact_pct": 123,
"weight_pct": 123
},
"leaders": [],
"laggards": []
}
}
],
"breadth": {
"advancing": 123,
"declining": 123,
"total": 123,
"percentile": 123
},
"top_movers": {},
"source": "realtime_sip"
}Market Live
Intraday Relative Rotation Graph
Sector ETF relative strength vs SPY at each intraday phase boundary.
GET
/
api
/
graph
/
v1
/
market
/
rrg
Intraday Relative Rotation Graph
curl --request GET \
--url https://api.example.com/api/graph/v1/market/rrgimport requests
url = "https://api.example.com/api/graph/v1/market/rrg"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/graph/v1/market/rrg', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/graph/v1/market/rrg",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/graph/v1/market/rrg"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/graph/v1/market/rrg")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/market/rrg")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"trade_date": "<string>",
"prior_close_date": "<string>",
"phases_completed": 123,
"current_phase": "<string>",
"sectors": [
{
"sector": "<string>",
"etf": "<string>",
"day_change_pct": 123,
"trail": [
{
"phase": "<string>",
"label": "<string>",
"rs_ratio": 123,
"rs_momentum": 123,
"timestamp": "2023-11-07T05:31:56Z",
"breadth_pct": 123
}
],
"live": {
"rs_ratio": 123,
"rs_momentum": 123,
"timestamp": "2023-11-07T05:31:56Z",
"breadth_pct": 123
},
"tooltip": {
"conviction_avg": 123,
"conviction_weight": "equal",
"top_contributor": {
"symbol": "<string>",
"impact_pct": 123,
"weight_pct": 123
},
"leaders": [],
"laggards": []
}
}
],
"breadth": {
"advancing": 123,
"declining": 123,
"total": 123,
"percentile": 123
},
"top_movers": {},
"source": "realtime_sip"
}Response
200 - application/json
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes