# 收盘后函数

def after_trading(context):
    pass
1
2

用途:

  • 每个交易日收盘后汇总日志。
  • 检查持仓。
  • 输出诊断信息。

兼容after_trading_end(context, data)函数名