Using the general protocol to access www.bloex.com to read the market, running an error

Author: zhchy751, Created: 2018-05-22 22:43:39, Updated:

I'm using this protocol to access www.bloex.com.(See the API documentation at https://github.com/Bloex/API-docs-Bloex) What is wrong with the policy? Running tips: 2018-05-22 22:35:35 This is the first time I've seen this. Error: bad element for argument #3[3] to Exchange_Futures_OPFILE:11) 2018-05-22 22:35:35


Here is my strategy code: function main (() { var url = what?https://api.bloex.com/ticker/getI'm not sure. // Submitted parameters var parameters = { Symbol: The BLOBTC is a butterfly I'm not sure. // Submit the request var is equal toexchange.IOThis is the first time I've seen this kind of thing. if (result.statusCode == 200) { is the value of the // Success: Showing market data This is a list of all the different ways ShowTicker is credited in the database. } else { // Failed: Displays error message (determines the cause of failure based on status code) This is a list of all the different ways ShowError ((result.statusCode)) is credited in the database. I'm not sure. LOG ((result); I'm not sure.


More

The Little DreamWell, this may be a misunderstanding, first of all, when adding an exchange, select the General Protocol. After configuring, you also need to write a General Protocol Service Program (Host Plugin), so that you can choose the exchange you configure on the bot page. You use exchange.IO and General Protocol access are two unrelated things.

zhchy751Can you add the exchange to the list of botvs supported, or help write a plugin, thank you @chilochilo