# 行情介面總覽

模組 介面名 功能簡介
實時行情 訂閲 subscribe 訂閲實時數據,指定股票代碼和訂閲的數據類型即可
unsubscribe 取消訂閲
unsubscribe_all 取消所有訂閲
query_subscription 查詢訂閲資訊
推送回呼 StockQuoteHandlerBase 報價推送
OrderBookHandlerBase 擺盤推送
CurKlineHandlerBase K 線推送
TickerHandlerBase 逐筆推送
RTDataHandlerBase 分時推送
BrokerHandlerBase 經紀隊列推送
拉取 get_market_snapshot 獲取市場快照
get_stock_quote 獲取訂閲股票報價的實時數據,有訂閲要求限制
get_order_book 獲取實時擺盤數據
get_cur_kline 實時獲取指定股票最近 num 個 K 線數據
get_rt_data 獲取指定股票的分時數據
get_rt_ticker 獲取指定股票的實時逐筆。取最近 num 個逐筆
get_broker_queue 獲取股票的經紀隊列
基本數據 get_market_state 獲取股票對應市場的市場狀態
get_capital_flow 獲取個股資金流向
get_capital_distribution 獲取個股資金分佈
get_owner_plate 獲取單支或多支股票的所屬板塊資訊列表
request_history_kline 獲取 K 線,不需要事先下載 K 線數據
get_rehab 獲取給定股票的復權因子
get_financials_earnings_price_move 獲取財報日前後價格漲跌幅表現
get_financials_earnings_price_history 獲取財報日前後股價歷史
get_financials_statements 獲取財務報表
get_financials_revenue_breakdown 獲取主營構成
get_research_analyst_consensus 獲取分析師評級概述
get_research_rating_summary 獲取評級匯總
get_research_morningstar_report 獲取晨星研究報告
get_valuation_detail 獲取個股/指數估值詳情
get_valuation_plate_stock_list 獲取板塊/指數成分股估值列表
get_corporate_actions_dividends 獲取分紅派息
get_corporate_actions_buybacks 獲取回購
get_corporate_actions_stock_splits 獲取拆合股
get_shareholders_overview 獲取持股統計
get_shareholders_holding_changes 獲取持股變動
get_shareholders_holder_detail 獲取持股明細
get_shareholders_institutional 獲取機構持股
get_insider_holder_list 獲取內部人持股列表
get_insider_trade_list 獲取內部人交易
get_company_profile 獲取公司概況
get_company_executives 獲取高管資訊
get_company_executive_background 獲取高管背景
get_company_operational_efficiency 獲取經營效率
get_top_ten_buy_sell_brokers 獲取十大經紀商買賣數據
get_daily_short_volume 獲取每日賣空成交
get_short_interest 獲取空頭持倉
相關衍生品 get_option_expiration_date 通過標的股票,查詢期權鏈的所有到期日
get_option_chain 通過標的股查詢期權
get_warrant 拉取窩輪和相關衍生品數據介面
get_referencestock_list 獲取證券的關聯數據
get_future_info 獲取期貨合約資料
get_option_volatility 獲取期權波動率分析
get_option_exercise_probability 獲取期權行權概率
全市場篩選 get_stock_filter 獲取條件選股
get_plate_stock 獲取特定板塊下的股票列表
get_plate_list 獲取板塊集合下的子板塊列表
get_stock_basicinfo 獲取指定市場中特定類型或特定股票的基本資訊
get_ipo_list 獲取指定市場的 ipo 列表
get_global_state 獲取全域市場狀態
request_trading_days 獲取交易日曆
個人化 get_history_kl_quota 獲取已使用過的額度,即當前週期內已經下載過多少隻股票
set_price_reminder 設定到價提醒
get_price_reminder 獲取對某隻股票(某個市場)設定的到價提醒列表
get_user_security_group 獲取自選股分組列表
get_user_security 獲取指定分組的自選股列表
modify_user_security 修改指定分組的自選股列表
PriceReminderHandlerBase 到價提醒推送