The resource loading... loading...

How to specify a trading area for fcoin spot

Author: fangzaixiang, Created: 2019-11-20 17:18:51, Updated:

I looked at the interface of fcoin.imgIf you want to know how to specify a trading zone, we can use the fmz side of exchange.Buy.


More

Inventors quantify - small dreamsThis interface can be accessed directly using exchange.IO, specifying this parameter.

Inventors quantify - small dreamsI'm not being polite.

fangzaixiangOkay, fine, thank you.

Inventors quantify - small dreamsAs described in the API documentation for exchange.IO exchange.IO (("api", "POST", "/v2/orders", "xxxx") The fourth parameter is in the form a=1&b=2 and so on. Signatures such as time are all wrapped up and can only be used with input parameters.

Inventors quantify - small dreamsAs described in the API documentation for exchange.IO exchange.IO (("api", "POST", "/v2/orders", "xxxx") The fourth parameter is of the form a=1&b=2 and so on.

fangzaixiangAt the beginning it was not timed, and it was not working, but after looking at the interface of fcoin it looked like it said to add time to the front https://developer.fcoin.com/zh.html?javascript#05e32f581f The code is: The following are the prepared data of the signatories: POSThttps://api.fcoin.com/v2/orders1523069544359amount=100.0&price=100.0&side=buy&symbol=btcusdt&type=limit Now I'm going back to the original code: var buyOrders = "symbol="+ExchangeCurr+" & side=buy&type=limit&amount="+Lot.toString() + "& price="+priceF.toString() + "& exchange=vipcoin"; Log ((("The following order parameters:"+buyOrders); // Call exchange.IO to directly access the exchange's bulk order interface var ret = exchange.IO (("api", "POST", "orders", buyOrders); Log (("fcoin payment results returned:"+JSON.stringify(ret)); The same goes for false.

Inventors quantify - small dreamsThe parameter seems to be incorrect, the parameter is in this form, the parameter name 1 = parameter value 1 & the parameter name 2 = parameter value 2, is a string.

fangzaixiangI've been trying to find out if there's a spelling problem with the exchange.IO call, but it keeps returning false. Calling code: This is a list of all the different ways BuyOrders is credited in the database. Log ((("Parameter of the order to be sold:"+buyOrders); // Call exchange.IO to directly access the exchange's bulk order interface var ret = exchange.IO (("api", "POST", "orders", buyOrders); Log (("fcoin payment results returned:"+JSON.stringify(ret));