@虾条 应该是代码升级了,可以直接这么改
x_price = get_price([ '399001.XSHE'], start_date='2015-01-01', end_date='2016-01-01', frequency='daily', fields=['close'])['close']
y_price = get_price(['000001.XSHG'], start_date='2015-01-01', end_date='2016-01-01', frequency='daily', fields=['close'])['close'
2022-03-12