Auto-detect fractals, strokes, segments, pivots & key levels with NorthStar Structure
NorthStar Structure Chart is based on Chan's Technical Analysis theory. It automatically marks fractals, strokes, segments, pivots, and key levels on candlestick charts, helping traders identify market structure. Available as a web app (no install) and a direct HTTP API.
Visit /structure/ directly. No download or installation needed.
Enter a US stock ticker (e.g., AAPL, TSLA) and click "Analyze".
Pro subscribers can call the NorthStar Structure API directly via HTTP. The API returns structured JSON for quantitative backtesting and programmatic integration.
GET https://app.xuanduzhixuan.com/structure/api/analyze?symbol=AAPL
Auth: Authorization: Bearer <NorthStar login token> (PRO unlimited; free accounts 30 in total, 5 a day), or an x-invite-code header
Optional: lang=zh|en (response language, default zh)
Membership is attached to your NorthStar account: subscribe to PRO on the membership page, log in with that account (POST /app/auth/login returns a token) and pass the token as an Authorization: Bearer header. No invite code is needed.
# Get NorthStar Structure analysis for AAPL (login token; PRO unlimited)
curl -H 'Authorization: Bearer YOUR_LOGIN_TOKEN' \
'https://app.xuanduzhixuan.com/structure/api/analyze?symbol=AAPL'
# Free accounts use the login token too: 30 requests per account, up to 5 a day.
# No token: 401 login_required. Out of quota: 429 (quota_daily / quota_total / quota_device)
{
"symbol": "AAPL",
"as_of": "2024-01-12",
"chart": "chart/AAPL_20240112_n.png",
"sections": [
{
"title": "当前结构",
"lines": ["最新收盘价 185.92(2024-01-12)", "当前线段方向:向上"]
},
{
"title": "中枢要点",
"lines": ["..."]
}
],
"disclaimer": "本工具仅用于图表可视化与结构说明,不构成任何投资建议。",
"quota": {"subscribed": false, "limit": 5, "remaining": 4}
}
import requests
resp = requests.get(
'https://app.xuanduzhixuan.com/structure/api/analyze',
params={'symbol': 'AAPL'},
headers={'x-invite-code': 'YOUR_INVITE_CODE'} # Pro subscribers only
)
data = resp.json()
print(data['sections'][0]['lines'])
# Check quota
quota = data.get('quota', {})
print('remaining:', quota.get('remaining'))
A: The web version is for manual analysis with visual charts; the API returns structured JSON for programmatic use. The web free tier is 30 requests per account after login (up to 5 a day); unlimited use requires PRO membership.
A: Currently supports US stocks (NYSE, NASDAQ, AMEX). A-shares and Hong Kong stocks are in development.
A: No. NorthStar Structure markers are a programmatic description of historical price patterns, for learning and research only, and do not indicate any trading timing. This tool does not constitute investment advice.
A: Visit the Pricing page and subscribe to Pro (¥99/month or ¥703/year). An invite code is emailed after payment. Contact support if you need help.
Disclaimer: This tool provides technical analysis visualization only. Output is for reference and does not constitute investment advice.