直接上源码咯,类的auth
方法填入自己聚宽的账号及密码:
import backtrader as bt
import datetime
from jqdatasdk import *
import pandas as pd
class JoinQuantData(bt.feeds.PandasData):
'''
get_price(security, start_date=None, end_date=None, frequency='daily', fields=None, skip_paused=False, fq='pre&