get_history_kl

Function get_history_kl 

Source
pub async fn get_history_kl(
    client: &FutuClient,
    security: &Security,
    rehab_type: RehabType,
    kl_type: KLType,
    begin_time: &str,
    end_time: &str,
    max_num: Option<i32>,
) -> Result<HistoryKLResult>
Expand description

获取历史 K 线数据

按时间范围查询历史 K 线。

  • begin_time: 开始时间,格式 “yyyy-MM-dd”
  • end_time: 结束时间,格式 “yyyy-MM-dd”
  • max_num: 最多返回根数,None 表示不限制