# 12月18日到次年1月13日
if (current_month == 12 and current_day >= 18) or (current_month == 1 and current_day < = 7):
print('空仓时间点:12月18日到次年1月7日')
return True
# 4月5日 - 4月9日
if current_month == 4 and 5 < = current_day < = 9:
print('空仓时间点:4月5日 - 4月9日')
return True
# 10月8日 - 10月9日
if current_month == 10 and 8 < = current_day < = 9:
print('空仓时间点:10月8日 - 10月9日')
return True
这三段时间空仓的依据是什么?如果能拉长回测时间,每年都是这几天空仓吗?@aric_zq81
2026-01-06