coinexcom / coinex_exchange_api

The global digital coin exchange.
190 stars 87 forks source link

kline.query Returning Code 1, Invalid Argument #106

Open pspsales opened 3 years ago

pspsales commented 3 years ago

Just trying to setup websocket API but using the example from the documents, after changing to a market that exists I still get invalid argument (https://github.com/coinexcom/coinex_exchange_api/wiki/046kline)

Request: {"method":"kline.query","params":["BTCUSDT",60,1629599859,1629599859],"id":5}

Response: {"error": {"code": 1, "message": "invalid argument"}, "result": null, "id": 5}

Screenshot: https://i.gyazo.com/fabb2b73a02795f0b3d05d668eab7383.png