Features
* 重构框架接口函数,与Ptrade和JoinQuant定义的接口参数一致,所有策略文件都需按新接口进行改写。
| **原接口** | **新接口** |
| :------- | :-- |
| initialize() | initialize(context) |
| handle_data() | handle_data(context, data) |
| before_trading_start() | before_trading_start(context) |
| after_trading_end() | after_trading_end(context) |
| on_strategy_end() | on_strategy_end(context) |
| process_initialize() | process_initialize(context) |