拷贝后做2处修改可以运行:
1.注释这一行:from bwlist import *
2.去掉blacklist:
#if hold_stocks[i] not in get_blacklist() and free_cash > context.portfolio.total_value / (g.stocknum * 10): # 黑名单里的股票不买
if free_cash > context.portfolio.total_value / (g.stocknum * 10):
2022-06-01