import bs_inferencedef test(): stock_data = bs_inference.download('AAPL') print(stock_data)if name == 'main': test()
用python写1个测试代码:test.py。通过 import bs_inference来导入之前的download函数,从而获取到对应股票的数据...
最新推荐文章于 2023-04-22 20:04:44 发布
import bs_inferencedef test(): stock_data = bs_inference.download('AAPL') print(stock_data)if name == 'main': test()