qq行情数据。sina行情JOSN,建议用qq,涨跌,财务数据有-市盈

self.source = easyquotation.use("qq")
{
  "name": "A股指数",
  "code": "000002",
  "now": 3693.64,
  "close": 3695.14,
  "open": 3681.21,
  "volume": 34962371000,
  "bid_volume": 17481185500,
  "ask_volume": 17481185500,
  "bid1": 0,
  "bid1_volume": 0,
  "bid2": 0,
  "bid2_volume": 0,
  "bid3": 0,
  "bid3_volume": 0,
  "bid4": 0,
  "bid4_volume": 0,
  "bid5": 0,
  "bid5_volume": 0,
  "ask1": 0,
  "ask1_volume": 0,
  "ask2": 0,
  "ask2_volume": 0,
  "ask3": 0,
  "ask3_volume": 0,
  "ask4": 0,
  "ask4_volume": 0,
  "ask5": 0,
  "ask5_volume": 0,
  "最近逐笔成交": "",
  "涨跌": -1.5,
  "涨跌(%)": -0.04,
  "high": 3699.13,
  "low": 3652.7,
  "价格/成交量(手)/成交额": "3693.64/349623710/492807104295",
  "成交量(手)": 34962371000,
  "成交额(万)": 492807100000,
  "turnover": 0.82,
  "PE": 14.22,
  "unknown": "",
  "high_2": 3699.13,
  "low_2": 3652.7,
  "振幅": 1.26,
  "流通市值": 391894.98,
  "总市值": 500148.87,
  "PB": 0,
  "涨停价": -1,
  "跌停价": -1,
  "量比": 1.12,
  "委差": 0,
  "均价": 3678.99,
  "市盈(动)": "",
  "市盈(静)": ""
}


self.source = easyquotation.use("sina")
{
  "name": "A股指数",
  "open": 3681.2108,
  "close": 3695.1409,
  "now": 3693.639,
  "high": 3699.1278,
  "low": 3652.7015,
  "buy": 0,
  "sell": 0,
  "turnover": 349623710,
  "volume": 492807104295,
  "bid1_volume": 0,
  "bid1": 0,
  "bid2_volume": 0,
  "bid2": 0,
  "bid3_volume": 0,
  "bid3": 0,
  "bid4_volume": 0,
  "bid4": 0,
  "bid5_volume": 0,
  "bid5": 0,
  "ask1_volume": 0,
  "ask1": 0,
  "ask2_volume": 0,
  "ask2": 0,
  "ask3_volume": 0,
  "ask3": 0,
  "ask4_volume": 0,
  "ask4": 0,
  "ask5_volume": 0,
  "ask5": 0,
  "date": "2021-07-09",
  "time": "15:02:22"
}

  

上一篇:云计算存储虚拟化技术-openstack-cinder


下一篇:【优化求解】基于matlab粒子群算法求解货物配装优化问题【含Matlab源码 414期】