@jqz1226 老师,你好。2023-01-01 00:00:00 - INFO - 初始函数开始运行且全局只运行一次
2023-01-03 14:40:00 - WARNING - Security(code=003036.XSHE) 在 positions 中不存在, 为了保持兼容, 我们返回空的 Position 对象, amount/price/avg_cost/acc_avg_cost 都是 0
2023-01-03 14:40:00 - DEBUG - Order 003036.XSHE to value 1000.000000
2023-01-03 14:40:00 - ERROR - 订单委托失败:StockOrder(entrust_id=1705648543 security=003036.XSHE mode=OrderTargetValue: _value=1000.0 style=MarketOrderStyle: _limit_price=0.0 side=long action=open margin=False entrust_time=2023-01-03 14:40:00 cancel_time=None finish_time=None comment= error=开仓数量不能小于 100)
2023-01-03 14:40:00 - WARNING - Security(code=002981.XSHE) 在 positions 中不存在, 为了保持兼容, 我们返回空的 Position 对象, amount/price/avg_cost/acc_avg_cost 都是 0
2023-01-03 14:40:00 - DEBUG - Order 002981.XSHE to value 1000.000000
2023-01-03 14:40:00 - ERROR - 订单委托失败:StockOrder(entrust_id=1705648544 security=002981.XSHE mode=OrderTargetValue: _value=1000.0 style=MarketOrderStyle: _limit_price=0.0 side=long action=open margin=False entrust_time=2023-01-03 14:40:00 cancel_time=None finish_time=None comment= error=开仓数量不能小于 100)
2023-01-03 14:40:00 - WARNING - Security(code=003018.XSHE) 在 positions 中不存在, 为了保持兼容, 我们返回空的 Position 对象, amount/price/avg_cost/acc_avg_cost 都是 0
2023-01-03 14:40:00 - DEBUG - Order 003018.XSHE to value 1000.000000
2023-01-03 14:40:00 - WARNING - Security(code=003001.XSHE) 在 positions 中不存在, 为了保持兼容, 我们返回空的 Position 对象, amount/price/avg_cost/acc_avg_cost 都是 0
2023-01-03 14:40:00 - DEBUG - Order 003001.XSHE to value 1000.000000
2023-01-03 14:40:00 - ERROR - 订单委托失败:StockOrder(entrust_id=1705648546 security=003001.XSHE mode=OrderTargetValue: _value=1000.0 style=MarketOrderStyle: _limit_price=0.0 side=long action=open margin=False entrust_time=2023-01-03 14:40:00 cancel_time=None finish_time=None comment= error=开仓数量不能小于 100)
2023-01-03 14:40:00 - WARNING - Security(code=002830.XSHE) 在 positions 中不存在, 为了保持兼容, 我们返回空的 Position 对象, amount/price/avg_cost/acc_avg_cost 都是 0
2023-01-03 14:40:00 - DEBUG - Order 002830.XSHE to value 1000.000000
2023-01-03 14:40:00 - ERROR - 订单委托失败:StockOrder(entrust_id=1705648547 security=002830.XSHE mode=OrderTargetValue: _value=1000.0 style=MarketOrderStyle: _limit_price=0.0 side=long action=open margin=False entrust_time=2023-01-03 14:40:00 cancel_time=None finish_time=None comment= error=开仓数量不能小于 100)
2023-01-03 15:30:00 - INFO - 函数运行时间(after_market_close):15:30:00
2023-01-03 15:30:00 - INFO - 成交记录:UserTrade({'trade_id': 1705648543, 'order_id': 1705648545, 'time': datetime.datetime(2023, 1, 3, 14, 40), 'amount': 100, 'price': 9.65})
2023-01-03 15:30:00 - INFO - 一天结束,,这些订单托失败是什么原因?我用5000元从2023年1月1号开始回测的
2024-01-19