2023-05-26 11:18:23.056617 init history datas...
2023-05-26 11:18:23.057810 init history datas done.
2023-05-26 11:18:25.347224 run_backtest() capital_base:500000, frequency:1m, product_type:future, date:20210104 ~ 2022-01-19
2023-05-26 11:18:25.348297 run_backtest() running...
2023-05-26 11:18:25.796157 initial contracts len=0
2023-05-26 11:18:25.796834 backtest inited.
2023-05-26 11:18:25.848816 backtest transforming 1m, bars=1...
2023-05-26 11:18:25.849549 transform start_trading_day=2021-01-04 00:00:00, simulation period=20210104 ~ 2022-01-19
2023-05-26 11:18:25.849594 transform before_start_days=0
2023-05-26 11:18:25.849626 transform replay_func=<cyfunction BacktestEngine.transform.<locals>.replay_bars_dt at 0x7f24d44b4380>
操作时间 2021-01-07 11:16:00 price: 5048.2 cross: 5047.06640625 ,through: 4959.800537109375 持仓: 0 , rs: 0 ,cash: 500000.0 买多
操作时间 2021-01-07 14:55:00 price: 5093.0 持仓: 1 , rs: 0 尾盘多头平仓
操作时间 2021-01-08 09:41:00 price: 5092.2 cross: 5147.599609375 ,through: 5099.30029296875 持仓: 1 , rs: 0 ,cash: 134868.42648437497 卖空
操作时间 2021-01-08 14:55:00 price: 5085.0 持仓: 0 , rs: 0 尾盘空头平仓
2023-05-26 11:20:02.299841 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5038.7998,U,0,strategy,2021-01-11 14:00:00)
操作时间 2021-01-11 14:00:00 price: 5038.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.328661 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5027.7998,U,0,strategy,2021-01-11 14:01:00)
操作时间 2021-01-11 14:01:00 price: 5027.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.364143 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5025.2001,U,0,strategy,2021-01-11 14:02:00)
操作时间 2021-01-11 14:02:00 price: 5025.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.394272 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5015.6,U,0,strategy,2021-01-11 14:03:00)
操作时间 2021-01-11 14:03:00 price: 5015.6 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.421494 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5024.7998,U,0,strategy,2021-01-11 14:04:00)
操作时间 2021-01-11 14:04:00 price: 5024.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.447749 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5028.3999,U,0,strategy,2021-01-11 14:05:00)
操作时间 2021-01-11 14:05:00 price: 5028.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.475287 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5032.2001,U,0,strategy,2021-01-11 14:06:00)
操作时间 2021-01-11 14:06:00 price: 5032.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.500366 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5029.7998,U,0,strategy,2021-01-11 14:07:00)
操作时间 2021-01-11 14:07:00 price: 5029.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.524695 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5023.6,U,0,strategy,2021-01-11 14:08:00)
操作时间 2021-01-11 14:08:00 price: 5023.6 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.548855 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5020.2001,U,0,strategy,2021-01-11 14:09:00)
操作时间 2021-01-11 14:09:00 price: 5020.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.573935 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5026.7998,U,0,strategy,2021-01-11 14:10:00)
操作时间 2021-01-11 14:10:00 price: 5026.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.599068 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5019.3999,U,0,strategy,2021-01-11 14:11:00)
操作时间 2021-01-11 14:11:00 price: 5019.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.624329 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5006.3999,U,0,strategy,2021-01-11 14:12:00)
操作时间 2021-01-11 14:12:00 price: 5006.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.651070 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5000.6,U,0,strategy,2021-01-11 14:13:00)
操作时间 2021-01-11 14:13:00 price: 5000.6 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.677199 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5002.0,U,0,strategy,2021-01-11 14:14:00)
操作时间 2021-01-11 14:14:00 price: 5002.0 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.702487 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5004.6,U,0,strategy,2021-01-11 14:15:00)
操作时间 2021-01-11 14:15:00 price: 5004.6 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.727911 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5008.0,U,0,strategy,2021-01-11 14:16:00)
操作时间 2021-01-11 14:16:00 price: 5008.0 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.753950 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,4998.0,U,0,strategy,2021-01-11 14:17:00)
操作时间 2021-01-11 14:17:00 price: 4998.0 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.781120 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5006.6,U,0,strategy,2021-01-11 14:18:00)
操作时间 2021-01-11 14:18:00 price: 5006.6 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.807966 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5005.7998,U,0,strategy,2021-01-11 14:19:00)
操作时间 2021-01-11 14:19:00 price: 5005.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.838663 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5009.7998,U,0,strategy,2021-01-11 14:20:00)
操作时间 2021-01-11 14:20:00 price: 5009.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.864399 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5020.2001,U,0,strategy,2021-01-11 14:21:00)
操作时间 2021-01-11 14:21:00 price: 5020.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.889494 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5018.3999,U,0,strategy,2021-01-11 14:22:00)
操作时间 2021-01-11 14:22:00 price: 5018.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.916007 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5027.3999,U,0,strategy,2021-01-11 14:23:00)
操作时间 2021-01-11 14:23:00 price: 5027.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.955216 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5021.2001,U,0,strategy,2021-01-11 14:24:00)
操作时间 2021-01-11 14:24:00 price: 5021.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:02.988119 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5023.7998,U,0,strategy,2021-01-11 14:25:00)
操作时间 2021-01-11 14:25:00 price: 5023.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.023785 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5016.2001,U,0,strategy,2021-01-11 14:26:00)
操作时间 2021-01-11 14:26:00 price: 5016.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.057134 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5014.7998,U,0,strategy,2021-01-11 14:27:00)
操作时间 2021-01-11 14:27:00 price: 5014.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.088510 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5019.2001,U,0,strategy,2021-01-11 14:28:00)
操作时间 2021-01-11 14:28:00 price: 5019.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.116586 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5023.7998,U,0,strategy,2021-01-11 14:29:00)
操作时间 2021-01-11 14:29:00 price: 5023.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.142963 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5023.7998,U,0,strategy,2021-01-11 14:30:00)
操作时间 2021-01-11 14:30:00 price: 5023.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.170571 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5016.3999,U,0,strategy,2021-01-11 14:31:00)
操作时间 2021-01-11 14:31:00 price: 5016.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.199456 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5024.6,U,0,strategy,2021-01-11 14:32:00)
操作时间 2021-01-11 14:32:00 price: 5024.6 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.225796 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5025.7998,U,0,strategy,2021-01-11 14:33:00)
操作时间 2021-01-11 14:33:00 price: 5025.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.252920 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5033.3999,U,0,strategy,2021-01-11 14:34:00)
操作时间 2021-01-11 14:34:00 price: 5033.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.280782 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5035.6,U,0,strategy,2021-01-11 14:35:00)
操作时间 2021-01-11 14:35:00 price: 5035.6 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.308129 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5033.0,U,0,strategy,2021-01-11 14:36:00)
操作时间 2021-01-11 14:36:00 price: 5033.0 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.335718 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5038.6,U,0,strategy,2021-01-11 14:37:00)
操作时间 2021-01-11 14:37:00 price: 5038.6 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.361763 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5037.3999,U,0,strategy,2021-01-11 14:38:00)
操作时间 2021-01-11 14:38:00 price: 5037.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.391452 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5033.7998,U,0,strategy,2021-01-11 14:39:00)
操作时间 2021-01-11 14:39:00 price: 5033.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.419778 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5031.3999,U,0,strategy,2021-01-11 14:40:00)
操作时间 2021-01-11 14:40:00 price: 5031.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.446504 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5035.0,U,0,strategy,2021-01-11 14:41:00)
操作时间 2021-01-11 14:41:00 price: 5035.0 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.472147 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5033.0,U,0,strategy,2021-01-11 14:42:00)
操作时间 2021-01-11 14:42:00 price: 5033.0 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.496600 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5026.7998,U,0,strategy,2021-01-11 14:43:00)
操作时间 2021-01-11 14:43:00 price: 5026.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.523289 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5032.6,U,0,strategy,2021-01-11 14:44:00)
操作时间 2021-01-11 14:44:00 price: 5032.6 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.547475 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5030.0,U,0,strategy,2021-01-11 14:45:00)
操作时间 2021-01-11 14:45:00 price: 5030.0 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.573807 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5035.2001,U,0,strategy,2021-01-11 14:46:00)
操作时间 2021-01-11 14:46:00 price: 5035.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.603008 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5033.6,U,0,strategy,2021-01-11 14:47:00)
操作时间 2021-01-11 14:47:00 price: 5033.6 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.629347 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5035.3999,U,0,strategy,2021-01-11 14:48:00)
操作时间 2021-01-11 14:48:00 price: 5035.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.655381 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5032.2001,U,0,strategy,2021-01-11 14:49:00)
操作时间 2021-01-11 14:49:00 price: 5032.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.683486 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5033.2001,U,0,strategy,2021-01-11 14:50:00)
操作时间 2021-01-11 14:50:00 price: 5033.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.711554 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5027.3999,U,0,strategy,2021-01-11 14:51:00)
操作时间 2021-01-11 14:51:00 price: 5027.4 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.737824 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5027.2001,U,0,strategy,2021-01-11 14:52:00)
操作时间 2021-01-11 14:52:00 price: 5027.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.765247 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5025.7998,U,0,strategy,2021-01-11 14:53:00)
操作时间 2021-01-11 14:53:00 price: 5025.8 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
2023-05-26 11:20:03.802352 handle_order_submit process req check position failed for order_req:OrderReq(bktfut,IF9999.CFX,'2','1',1,5022.2001,U,0,strategy,2021-01-11 14:54:00)
操作时间 2021-01-11 14:54:00 price: 5022.2 cross: 5139.266438802083 ,through: 5040.100341796875 持仓: 0 , rs: -113 ,cash: 515399.74199999997 卖空
操作时间 2021-01-12 11:07:00 price: 5077.6 cross: 5077.199544270833 ,through: 4985.5 持仓: 0 , rs: 0 ,cash: 515399.74199999997 买多
操作时间 2021-01-12 14:55:00 price: 5158.0 持仓: 1 , rs: 0 尾盘多头平仓