Technical Factors

Daily technical-indicator factors, one row per stock per trading day, including MACD, KDJ, RSI, BOLL, and CCI, bundled with forward- and back-adjusted prices. The indicators are pre-computed by the platform, removing the need to handle adjustment and rolling windows yourself, and suit trend, momentum, and overbought/oversold analysis and technical screening. Note that each indicator uses standard parameters, so custom lookbacks still require computing from adjusted prices, and the forward-adjusted series is retroactively revised after corporate actions.

GET /v2/market/technical-factors

Parameters

Name Type Required Description
symbol string No Stock code, e.g. 000001.SZ
start_date string No Start date (YYYYMMDD)
end_date string No End date (YYYYMMDD)
trade_date string No Trading date YYYYMMDD (single day)

Key Response Fields

Field Description
close_qfq / close_hfq Forward / backward adjusted close price
macd_dif, macd_dea, macd MACD indicator (DIF, DEA, histogram)
kdj_k, kdj_d, kdj_j KDJ oscillator
rsi_6, rsi_12, rsi_24 RSI (6/12/24 period)
boll_upper, boll_mid, boll_lower Bollinger Bands
cci Commodity Channel Index

API Example

cURL
curl -H "X-API-Key: YOUR_KEY" \
  "https://asharehub.com/v2/market/technical-factors?symbol=000001.SZ"
Python SDK
from asharehub import AShareHub

client = AShareHub(api_key="YOUR_KEY")
df = client.technical_factors(symbol="000001.SZ")
print(df.head())

Sample Data

returns a pandas.DataFrame
symboltrade_dateopen_hfqclose_hfqhigh_hfqlow_hfqpre_close_hfqopen_qfqclose_qfqhigh_qfq… +16
000001.SZ202606261448.46341422.05181455.41381416.49151448.463410.4210.2310.47
000001.SZ202606251455.41381448.46341472.09471447.07331460.974110.4710.4210.59
000001.SZ202606241484.60541460.97411498.50621460.97411488.775710.6810.5110.78