Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
取得一致預期與分析師買賣建議。
hk
us
import tqx_data result = tqx_data.get_consensus_nonperiod( market='hk', symbol=[""], fields=["indicator","mean","std_6month","high_week"] ) print(result)
symbol indicator mean std_6month high_week 0 0001.HK LTGROWTH 4.60000 NaN 4.60 1 0001.HK TP 69.43333 1.50000 78.00 2 0002.HK LTGROWTH 2.70000 0.00000 2.70 3 0002.HK TP 77.02000 4.06262 86.64 4 0003.HK LTGROWTH 6.38000 0.00000 7.30 .. ... ... ... ... ... 972 9996.HK TP 9.43200 0.55741 10.66 973 9997.HK LTGROWTH NaN 0.00000 NaN 974 9997.HK TP NaN 0.00000 NaN 975 9999.HK LTGROWTH 4.80000 0.00000 4.80 976 9999.HK TP 235.88571 46.77894 289.00
import tqx_data result = tqx_data.get_consensus_recommend( market='hk', symbol=[""], fields=["strong_buy_num","buy_num_week"] ) print(result)
symbol strong_buy_num buy_num_week 0 0001.HK 2.0 5.0 1 0002.HK 1.0 2.0 2 0003.HK 1.0 2.0 3 0004.HK 0.0 2.0 4 0005.HK 3.0 6.0 .. ... ... ... 816 9992.HK 12.0 14.0 817 9995.HK 6.0 6.0 818 9996.HK 1.0 3.0 819 9997.HK NaN NaN 820 9999.HK 7.0 12.0