ありがとうございました (拍手)
-
Getrecords関数で時々エラーが発生します (通常は1~2日後にエラーが発生します) では,どう対応するか教えてください.
2022-01-07 20:19:00 エラー トレースバック (most recent call last): ファイル "<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()
2022-01-07 20:19:00 Futures_OKCoin エラー GetRecords: 502: メールアドレス:<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 --> -
固体のログをエクスポートする
ありがとうございました
实盘日志都在托管者所在目录logs文件夹内,机器人ID是文件名,扩展名是db3。用SQLite数据库软件可以打开。
GetRecords报错是访问接口失败了, http502错误。网络问题或者交易所问题。
- 1
