Get confluence scoring breakdown
curl --request GET \
--url https://api.example.com/api/graph/v1/stocks/{symbol}/confluenceimport requests
url = "https://api.example.com/api/graph/v1/stocks/{symbol}/confluence"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/graph/v1/stocks/{symbol}/confluence', 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/stocks/{symbol}/confluence",
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/stocks/{symbol}/confluence"
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/stocks/{symbol}/confluence")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/stocks/{symbol}/confluence")
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{
"components": {
"day_type_alignment": {
"alignment": "aligned",
"day_type": "trending",
"score": 80,
"weight": 0.1
},
"iv_rank": {
"percentile": 35,
"score": 70,
"weight": 0.1
},
"pattern_quality": {
"best_pattern": "bull_flag",
"confidence": 0.75,
"score": 60,
"weight": 0.15
},
"proximity": {
"distance_atr": 0.3,
"nearest_level": "pivot_r1",
"score": 80,
"weight": 0.25
},
"volatility_setup": {
"bb_width_percentile": 15,
"patterns": [
"bb_squeeze"
],
"score": 70,
"weight": 0.2
},
"volume_confirmation": {
"rvol": 1.5,
"score": 85,
"trend": "increasing",
"weight": 0.2
}
},
"confluence_score": 82.5,
"recommendation": "GOOD setup for momentum strategies.",
"symbol": "AAPL",
"tier": "GOOD",
"weights_version": "v3.1"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Stocks
Get confluence scoring breakdown
Get confluence scoring breakdown for a stock per SEQUENCY_TRADING_METROLOGY.md.
## Confluence Components (weights sum to 1.0)
1. **Proximity (0.25)**: Distance to key levels in ATR units
2. **Volatility Setup (0.20)**: Compression patterns + Bollinger width
3. **Volume Confirmation (0.20)**: Relative volume + trend
4. **Pattern Quality (0.15)**: Pattern confidence + type alignment
5. **IV Rank (0.10)**: IV percentile classification (requires options pipeline)
6. **Day Type Alignment (0.10)**: Strategy vs day type compatibility
## Score Tiers
- **EXCELLENT**: 8-10 (full position size recommended)
- **GOOD**: 6-8 (normal position size)
- **MODERATE**: 4-6 (reduced position size)
- **WEAK**: 2-4 (avoid or minimal size)
- **POOR**: 0-2 (do not trade)
## Query Parameters
- **strategy**: Optional strategy type to check alignment for
(e.g., MomentumBreakout, TrendFollowing, MeanReversion)
## Performance Target
<300ms response time.
GET
/
api
/
graph
/
v1
/
stocks
/
{symbol}
/
confluence
Get confluence scoring breakdown
curl --request GET \
--url https://api.example.com/api/graph/v1/stocks/{symbol}/confluenceimport requests
url = "https://api.example.com/api/graph/v1/stocks/{symbol}/confluence"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/graph/v1/stocks/{symbol}/confluence', 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/stocks/{symbol}/confluence",
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/stocks/{symbol}/confluence"
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/stocks/{symbol}/confluence")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/stocks/{symbol}/confluence")
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{
"components": {
"day_type_alignment": {
"alignment": "aligned",
"day_type": "trending",
"score": 80,
"weight": 0.1
},
"iv_rank": {
"percentile": 35,
"score": 70,
"weight": 0.1
},
"pattern_quality": {
"best_pattern": "bull_flag",
"confidence": 0.75,
"score": 60,
"weight": 0.15
},
"proximity": {
"distance_atr": 0.3,
"nearest_level": "pivot_r1",
"score": 80,
"weight": 0.25
},
"volatility_setup": {
"bb_width_percentile": 15,
"patterns": [
"bb_squeeze"
],
"score": 70,
"weight": 0.2
},
"volume_confirmation": {
"rvol": 1.5,
"score": 85,
"trend": "increasing",
"weight": 0.2
}
},
"confluence_score": 82.5,
"recommendation": "GOOD setup for momentum strategies.",
"symbol": "AAPL",
"tier": "GOOD",
"weights_version": "v3.1"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Path Parameters
Query Parameters
Strategy type to check alignment for
Response
Confluence breakdown
V3 Confluence scoring breakdown for trade setup quality assessment.
Score ranges from 0-100, calculated as weighted sum of 6 components.
For v4.1 dual scoring with 8 components, use DualConfluenceResponse.
Weighted total score 0-100
Required range:
0 <= x <= 100Score tier classification
Available options:
EXCELLENT, GOOD, MODERATE, WEAK, POOR V3 confluence scoring components (6 components).
Show child attributes
Show child attributes
Trading recommendation based on score and conditions
Version of the confluence weights formula used