You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i use this json object
{"method":"kline.query","params":["BTCUSDT",60],"id": 15}
but the server response is
{"error": {"code": 3001, "message": "invalid argument"}, "result": null, "id": 15}
why?
other methods seems to work correctly
The text was updated successfully, but these errors were encountered:
I have the same issue
I set subscription json parameter like this:
async def subscribe_kline(self, conn):
param = {
"id" : 1,
"method": "kline.query",
"params": ['BTCUSDT', "5m"]
}
await conn.send(json.dumps(param))
res = await conn.recv()
print(json.loads(res))
I get this message:
{'error': {'code': 1, 'message': 'invalid argument'}, 'result': None, 'id': 1}
I don't have any problem with "depth.subscribe" method and it works good.
i use this json object
{"method":"kline.query","params":["BTCUSDT",60],"id": 15}
but the server response is
{"error": {"code": 3001, "message": "invalid argument"}, "result": null, "id": 15}
why?
other methods seems to work correctly
The text was updated successfully, but these errors were encountered: