Loading ...

萌新搞了三天了 搞定python 又出了一个错误 好烦

Author: 461587434, Created: 2021-07-09 03:33:49, Updated: 2021-07-09 03:43:41

img InternalError: platformId: Futures_JEX, currency: STORJ, Msg: config error at <anonymous> (native) at Register (FILE) at reg (FILE:16) at <eval> (FILE:24) 租了国外的云托管者 还是这样 请问是什么问题呢? 是不是云托管者还要部署python? 又或者是不是我api设置错了?这个策略是跑合约的 我选的币安api是不是不对? img 这是我的配置设置 是不是哪里不对? img 急求小草大哥帮助!


More

461587434 云托管的

小草 Futures_JEX不是币安

小草 添加币安期货交易所

灞石资本 SyntaxError明显是代码语法错误,要学会看报错信息。应该在protect_v的218行。可以先学习一下怎么debug。

461587434 2021-07-09 15:22:13 错误 Traceback (most recent call last): File "<stdin>", line 13, in <module> File "<string>", line 21, in <module> BaseException: Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 227, in <module> File "<string>", line 223, in build File "<string>", line 115, in make_obfuscate File "<string>", line 115, in <listcomp> File "<string>", line 105, in protect_v File "__block__", line 218 f'反向{index}#close_sell_price#{one_exchange.Buy}#Amount#{one_exchange.sell_Amount}') ^ SyntaxError: invalid syntax 2021-07-09 15:22:13 重启 2021-07-09 15:14:34 错误 Traceback (most recent call last): File "<stdin>", line 13, in <module> File "<string>", line 21, in <module> BaseException: Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 227, in <module> File "<string>", line 223, in build File "<string>", line 115, in make_obfuscate File "<string>", line 115, in <listcomp> File "<string>", line 105, in protect_v File "__block__", line 218 f'反向{index}#close_sell_price#{one_exchange.Buy}#Amount#{one_exchange.sell_Amount}') ^ SyntaxError: invalid syntax 2021-07-09 15:14:34 重启 2021-07-09 15:12:49 错误 Traceback (most recent call last): File "<stdin>", line 13, in <module> File "<string>", line 21, in <module> BaseException: Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 227, in <module> File "<string>", line 223, in build File "<string>", line 115, in make_obfuscate File "<string>", line 115, in <listcomp> File "<string>", line 105, in protect_v File "__block__", line 218 f'反向{index}#close_sell_price#{one_exchange.Buy}#Amount#{one_exchange.sell_Amount}') ^ SyntaxError: invalid syntax 2021-07-09 15:12:49 重启

461587434 添加了币安期货了 云托管还是显示第一条错误代码