215600292 发表于 2020-10-20 15:27:15

没人吗?我申请tbpy权限

账号:sxs215600292
谢谢
管理员都不在的吗平时

追涨杀跌 发表于 2020-10-22 07:49:04

您好!tbpy的权限不用开通,默认就有,目前也暂未开放增加TBPY权限的服务。

215600292 发表于 2020-10-23 14:44:28

追涨杀跌 发表于 2020-10-22 07:49 static/image/common/back.gif
您好!tbpy的权限不用开通,默认就有,目前也暂未开放增加TBPY权限的服务。 ...

管理员好。
tbpy用两个线程分别运行不同策略,出现问题,怎么回事?提示如下:

RuntimeError: TBPY实例超限

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "D:\eclipse-workspace\TB\test.py", line 125, in <module>
    ret = tbpy.init()
  File "D:\Python\Python36\lib\site-packages\tbpy\__init__.py", line 11, in init
    return tbpy.init()
SystemError: <Boost.Python.function object at 0x000001E7264FEEB0> returned a result with an error set
!! 10/23/20 14:38:18.063 error: communicator not destroyed during global destruction.

tbpy该不会只能在一个线程下运行吧?!几十个品种,几个策略,都要挤在一个线程下运行,那还得了?
页: [1]
查看完整版本: 没人吗?我申请tbpy权限