The resource loading... loading...

Please teach me about the IO function error reporting problem.

Author: k178613133, Created: 2019-06-29 19:15:42, Updated:

This is the first time that the company has been listed on the stock exchange.

This is the latest version of the.js test code: function main (() {exchange.IO("api",“GET”,"/api/futures/v3/instruments/BTC-USD-190927/book") }

function main(){ exchange.IO("api",“GET”,"/api/futures/v3/instruments/BTC-USD-190927/book",“size=50”) }

Both of the above test methods returned errors: main:3:15 - TypeError: Cannot convert GET to intWhat I don't understand is what the document says: Parameter values: httpMehod is a string type, request type "POST" or "GET", resource is a string type, path type, params is a string type, interaction parameter type.

I've been trying to get this to work for me.exchange.IO("api", “GET”, “/api/futures/v3/instruments/BTC-USD-190927/book”) Returns error:TypeError: IO() takes at most 3 arguments (4 given)So what's weird here is, given three parameters, the error is that I gave four parameters?

python test codeexchange.IO(’api’, ‘GET’, ‘/api/futures/v3/instruments/BTC-USD-190927/book’,‘size=5’) TypeError: IO (()) takes at most 3 arguments (5 given)So what's weird here is, given three parameters, you're saying I'm giving five parameters?


More

Inventors quantify - small dreamsPublic interfaces are not called with exchange.IO. Private signature interfaces are called with exchange.IO.

Inventors quantify - small dreamsI'm wondering if the host needs an update, and this is the OKEX V3 interface.