多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 行情_报价 调用地址:http(s)://stock.api51.cn/real 请求方式:GET 返回类型:JSON # 请求参数 |参数名|类型|必填|最大长度|中文名|描述| | --- | --- |--- | --- |--- | --- | |en_prod_code|String|是|2000|产品代码集|一次最多允许查询100支代码| |fields|String|否|255|字段集合|返回参数 | # 返回参数 |参数名|类型|最大长度|中文名|描述| | --- | --- |--- | --- | --- | |snapshot|Object|行情对象| |prod_code|String|32|产品代码| |snapshot_detail_data|Object|行情详细对象| |prod_name|String|60|产品名称| |data_timestamp|Integer|10|最后更新时间| |open_px|Integer|10|开盘价| |high_px|Integer|10|最高价| |low_px|Integer|10|最低价| |last_px|Integer|10|最新价| |preclose_px|Integer|10|昨收价| |business_amount|Integer|10|成交数量| |business_balance|Float|16.2|成交金额| |shares_per_hand|Integer|10|每手股数| |bid_grp|String|255|委买档位| |offer_grp|String|255|委卖档位| |w52_low_px|Integer|10|52周最低价| |w52_high_px|Integer|10|52周最高价| |px_change|Integer|10|价格涨跌| |px_change_rate|Integer|10|涨跌幅| |amount|Integer|10|持仓量| |entrust_diff|Integer|16|委差| |prev_amount|Float|16.2|前余额| |settlement|Integer|10|今结算价| |prev_settlement|Integer|10|昨结算| |market_value|Float|16.2|证券市值| |circulation_amount|Float|16.2|流通股本| |circulation_value|Integer|16|流通市值| |dyn_pb_rate|Integer|8|动态市净率| |pe_rate|Integer|10|市盈率| |entrust_rate|Float|9.4|委比| |turnover_ratio|Integer|10|换手率| |vol_ratio|Integer|10|量比| |amplitude|Integer|10|振幅| |current_amount|Integer|10|当前数量| |money_type|String|3|币种类别| |trade_status|String|16|交易状态| |chi_spelling_grp|String|255|拼音简称| |hq_type_code|String|32|类型代码| |ipo_price|Integer|10|IPO价格| |issue_date|Integer|8|发行日期| |up_px|Integer|10|涨停价格| |down_px|Integer|10|跌停价格| |business_amount_in|Integer|16|内盘成交量| |business_amount_out|Integer|16|外盘成交量| |eps|Float|18.4|每股收益(摊薄)| |bps|Integer|10|每股净资产| |iopv|Integer|10|基金净值| |exercise_date|Integer|8|行权日期| |expire_date|Integer|8|到期日| |exercise_price|Float|12.6|行权价格| |call_put|String|32|认购认沽| |min5_chgpct|Integer|10|五分钟涨跌幅| |stock_option_underlying_grp|Object|个股期权标的代码对象| |gamma_index|Integer|10|gamma指标| |delta_index|Integer|10|delta指标| |real_leverage|Integer|10|真实杠杆率| |option_price|Integer|10|期权定价| |special_marker|String|10|特殊标志| |total_shares|Integer|10|总股本| |avg_px|Integer|10|均价| |wavg_px|Integer|10|加权平均价| |debt_fund_value|Integer|10|国债基金净值| |fund_t1_date|Integer|10|基金T-1日期| |fund_t1_value|Integer|10|基金T-1净值| |fund_t2_date|Integer|10|基金T-2日期| |fund_t2_value|Integer|10|基金T-2净值| |fund_start_date|Integer|8|基金开始日期| |fund_type|String|10|基金类别| |fund_buy_status|Integer|10|基金买状态| |fund_sell_status|Integer|10|基金卖状态| |fund_assess_change|Integer|10|基金估值涨跌幅|100倍 |fund_real_change|Integer|10|基金实时涨跌幅(|100倍 |index_rise_trend|Integer|10|指数上涨趋势|多空指标 |index_fall_trend|Integer|10|指数下跌趋势|强弱度 # 正确返回示例 { "data": { "snapshot": { "fields": [ "data_timestamp", "shares_per_hand", "open_px", "high_px", "low_px", "last_px", "business_amount", "business_balance", "offer_grp", "bid_grp" ], "600570.SS": [ 150305133, 100, 53980, 56000, 52510, 54950, 14465811, 788995643, "54850,9887,0,54860,1500,0,54900,13300,0,54950,10000,0,54990,800,0,", "54820,8000,0,54810,2100,0,54800,202900,0,54770,100,0,54720,1200,0," ], "000001.SZ": [ 153229327, 100, 15560, 15830, 15300, 15480, 170012067, 2634796408, "15490,93700,0,15500,260609,0,15510,69996,0,15520,87008,0,15530,71400,0,", "15480,438292,0,15470,149000,0,15460,411400,0,15450,414573,0,15440,303733,0," ] } } }