<jupyter_start><jupyter_text>导入库<jupyter_code>import efinance as ef<jupyter_output><empty_output><jupyter_text>使用例子  获取四大交易所期货信息<jupyter_code>ef.futures.get_futures_base_info()<jupyter_output><empty_output><jupyter_text>获取单个期货 k 线数据<jupyter_code>secid = '115.ZCM'
ef.futures.get_quote_history(secid)<jupyter_output><empty_output><jupyter_text>获取多个期货历史 k 线数据<jupyter_code>secids = ['115.ZCM','115.ZC109']
ef.futures.get_quote_history(secids)<jupyter_output>Processing: 115.ZCM: 100%|██████████| 2/2 [00:00<00:00,  3.69it/s]
StarcoderdataJupyterStructuredCleanDedup