4
Follow
0
Followers
问下这个是什么问题?
日期 平台 类型 价格 数量 信息
2018-08-01 20:09:19 错误 Error: bad argument #2 to 'Exchange_GetOrder' (interface {} expected, got null) at main (FILE:128)
2018-08-01 20:09:18 信息 账户信息,Balance: 1626.7494552648827 FrozenBalance: 304.008 Stocks: 2996.703498585609 FrozenStocks: 300
2018-08-01 20:09:17 FCoin 错误 Sell(0, 300): 400: {"status":3033,"msg":"market order is disabled for symbol ftusdt"}
2018-08-01 20:09:17 FCoin 错误 Buy(0, 300): 400: {"status":3033,"msg":"market order is disabled for symbol ftusdt"}
Related Recommendations
Pure english vesion of e-books about some basic systematic trading skillsThe grid trading strategyPython streamlined multi-variety MACD trending strategy frameworkin main TypeError: IO() takes at most 3 arguments (5 given)symbol not setGetTicker: 400: {"code": 2, "data": {}, "message": "invalid params"}gateio getdepth 502Decrypt: Secret key decrypt failedGetOrders: 400: {"code":-1121,"msg":"Invalid symbol."}HTTP 403 error
Comment
All comments (1)
Buy(0, 300): 400: {"status":3033,"msg":"market order is disabled for symbol ftusdt"}
传入的 下单价格 成为 0 了。
检查下 下单价格, 另外 FT_USDT 这个交易对 好像是 不支持 市价单。
由于下单失败 , 返回了 null , 此时 订单ID 是 null , 这个时候 调用exchange.GetOrder 函数 传入 一个 值为 null 的ID 就会报错了。
8 years ago
- 1
