kline_pro

czsc.utils.kline_pro(kline: List[dict], fx: List[dict] = [], bi: List[dict] = [], xd: List[dict] = [], bs: List[dict] = [], title: str = '缠中说禅K线分析', t_seq: List[int] = [], width: str = '1400px', height: str = '580px') Grid[source]

绘制缠中说禅K线分析结果

Parameters:
  • kline – K线

  • fx – 分型识别结果

  • bi

    笔识别结果 {‘dt’: Timestamp(‘2020-11-26 00:00:00’),

    ’fx_mark’: ‘d’, ‘start_dt’: Timestamp(‘2020-11-25 00:00:00’), ‘end_dt’: Timestamp(‘2020-11-27 00:00:00’), ‘fx_high’: 144.87, ‘fx_low’: 138.0, ‘bi’: 138.0}

  • xd – 线段识别结果

  • bs – 买卖点

  • title – 图表标题

  • t_seq – 均线系统

  • width – 图表宽度

  • height – 图表高度

Returns:

用Grid组合好的图表