Loading ...

币安设置双向持仓报错

Author: microwood, Created: 2021-12-22 08:43:10, Updated: 2021-12-22 09:08:50

设置币安的双向持仓模式,这个是FMZ上给出的教程,跑模拟出错 def main(): ret = exchange.IO("api", “POST”, “/fapi/v1/positionSide/dual”, “dualSidePosition=false”) Log(ret) 出错信息如下: IO() takes from 2 to 3 positional arguments but 5 were given 请问如何解决? 感谢


More

小小梦 /upload/asset/16d4e5e6d114d3bb7c33.png 测试了下正常的,您在调试工具里测试下截图看下。

microwood 感谢

小草 回测不支持IO函数

microwood /upload/asset/2234728847173e6513f5b.png 您好,这个是代码, /upload/asset/2246dbd1f4a7a30b402ec.png 这个是模拟盘配置 /upload/asset/2231c27ada5300c3dad31.png 这个是报错信息,方便的话麻烦帮忙看一下,感谢