You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

待完成TODO

  1. 总股本、机构持股未能获取
  2. 数据库需要拆分
    1. 1d K线历史数据
      1. k线基础表开盘价、收盘价、最高价、最低价、成交量、成交额 -- query_kline
      2. .k线辅助数据表
      3. k线行情表需计算涨跌幅5日涨跌幅10日涨跌幅20日涨跌幅30日涨跌幅macd需计算 ,乖离率(需计算); 是否涨停需计算是否跌停需计算是否st -- get_history_stock_status
      4. k线财务表总市值流通市值机构持股非个人利润 -- get_equity_structureget_share_holderget_income
    2. 其他周期历史数据
      1. k线基础表开盘价、收盘价、最高价、最低价、成交量、成交额涨跌幅需计算macd需计算 -- query_kline
    3. 实时数据:开盘价、收盘价、最高价、最低价、成交量、成交额
    4. 代码数据表(每天检查)、交易日表
    5. 基础数据表: 上市日期、上市板块、是否退市 -- get_stock_basic

已完成DONE

  1. 获取股票列表接口 stock/symbols -- 第一次请求慢,会超时
  2. 获取k线 stock/klines/{symbol} -- 缺少股本等信息
  3. 获取交易日历 stock/trading-dates

2026年3月15日 接口调整

已实现

  1. _fetch_calendar_sync 调用接口 get_calendar

待调整

  1. close接口需要logout进行退出