bitfinex 操作でエラーが発生しました。解析にご協力ください。ありがとうございます!
売り上げをログに登録できない場合の警告は以下の通りです.
2017-11-01 12:30:18 誤り Error: bad argument #1 to 'LogProfit' (float64 expected, got string) main について 返信するFILE:129
2017-11-01 12:30:14 Bitfinexは6373.1 0.00916を売り出しました.
129行は以下のとおりです.
LogProfit (('MACD cause', nowAccount.Balance.toFixed ((1) - initAccount.Balance.toFixed ((1), 'お金:', nowAccount.Balance.toFixed ((1), 'コイン:', nowAccount.Stocks.toFixed ((3), '平仓詳細:', obj, "交差周期", n, "dif=", dif.toFixed ((3), "dea=", dea.toFixed ((3));
ありがとうございました
卖出的命令间还有条出错信息:
2017-11-01 12:30:08 Bitfinex 错误 GetOrders: Post https://api.bitfinex.com/v1/orders: read tcp 192.168.1.23:55516->104.16.175.181:443: wsarecv: An existing connection was forcibly closed by the remote host.
也请一起帮忙看看
1、 错误 Error: bad argument #1 to 'LogProfit' (float64 expected, got string) main FILE:129 这个错误 是由于 传入参数错误 导致的, 函数 LogProfit 第一个参数为 数值类型,但是接受到了 字符串类型。
2、 Bitfinex 错误 GetOrders: Post https://api.bitfinex.com/v1/orders: read tcp 192.168.1.23:55516->104.16.175.181:443: wsarecv: An existing connection was forcibly closed by the remote host.这个错误 是由于 网络因素 或者 是 交易所 服务器 断开导致的。
同样策略运用到 其他交易所 可能 需要调整, 因为交易所 各自 对于 API 访问限制等等 可能有不一样的地方,所以需要 调整。
- 1
