Type/to search
0
Follow
0
Followers
bitfinex آپریشن میں ایک خامی ہے، براہ کرم اس کا تجزیہ کرنے میں مدد کریں، شکریہ!
FAQ
Created 2017-11-01 13:03:59  
 6
 2195

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 {"High": 6481.5, "Low": 6082.5, "Sell": 6373.3, "Buy": 6373.2, "Last": 6373.2, "Volume":44466.88351939, "Time":1509510612772}

لائن 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));

شکریہ

Related Recommendations
Comment
All comments (6)

    这策略在内盘用了2-3个月了,没啥问题,为何搬到外盘这么多问题啊?网速的关系?

    9 years ago

    卖出的命令间还有条出错信息:
    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.

    也请一起帮忙看看

    9 years ago

    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 访问限制等等 可能有不一样的地方,所以需要 调整。

    9 years ago

    非常感谢!

    9 years ago

    不客气, 如果您在 BotVS 群里 也可以 随时 有问题 联系我。

    9 years ago

    好的,谢谢

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