Type/to search
6
Follow
3
Followers
Aide : la fonction GetRecords est instable et comment exporter le journal en temps réel
Help
Created 2022-01-07 20:44:15  Updated 2022-01-07 21:12:07
 5
 982

Bonjour, j'ai deux questions à vous poser.

  1. J'utilise parfois la fonction Getrecords (généralement 1 ou 2 jours après l'exécution), et je voudrais savoir si c'est la meilleure façon de procéder.
    2022-01-07 20:19:00 Erreur Traceback (most recent call last): "Répondre à l'erreur par défaut"<string>", line 999, in init_ctx File "<string>", line 321, in <module> File "<string>", line 111, in main File "<string>", line 11, in CompositeArray TypeError: object of type 'NoneType' has no len()
    Les résultats de l'enquête ont été publiés dans le journal Le Monde.<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->

  2. Comment exporter le journal du disque dur

Merci beaucoup.

Related Recommendations
Comment
All comments (5)

    实盘日志都在托管者所在目录logs文件夹内,机器人ID是文件名,扩展名是db3。用SQLite数据库软件可以打开。
    GetRecords报错是访问接口失败了, http502错误。网络问题或者交易所问题。

    5 years ago

    好的,谢谢。那如何让报错时不要中止实盘运行了?怎么样加上容错比较合理

    5 years ago

    您可以看下文库里的一些文章:https://www.fmz.com/digest-topic/6909 ,有些对容错的说明。

    5 years ago

    你好,我看API文档里有_C(...)函数,可以用吗?谢谢

    5 years ago

    对于获取行情的接口可以用_C,下单之类的不建议用。

    5 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)