【代码报错】平台上克隆的模板期货策略报错-提示 'FuturePosition' object has no attribute 'avail_qty'
由bq7170hf创建,最终由bq7170hf 被浏览 2 用户
量化学院中“基于期货的CTA策略实现”的3个策略克隆模板均出现同样的报错。
3个策略运行后均会出现以下报错:
AttributeError: 'FuturePosition' object has no attribute 'avail_qty'
https://bigquant.com/codesharev3/11f20f73-ff22-4b6d-9811-9934ade38e56
https://bigquant.com/codesharev3/4409091a-591f-4cfb-9d63-636f045418c3
https://bigquant.com/codesharev3/a0e0e44f-15ae-40d0-9347-cae533a18617
https://bigquant.com/codesharev3/5aca0945-30c4-45bb-9595-dfb370910462
\