FMEX test environment website provided Test the main domain name:https://www.fmextest.net/The real trading API domain name is:api.fmex.comThe domain name of the API:api.fmextest.netThe API address is:https://api.fmex.com/Please note that we only support https access, not http access.
I tested the FMEX test environment account before logging in, and found that it was no longer able to log in, clicking search again, and it shows no account. It indicates that the previous test account may have been empty, so I registered another one and applied for the API KEY after adding Google verification. Once everything is ready, apply for the API KEY.
You need to download the latest hosts
When used, the policy requires switching the base address tohttps://api.fmextest.net
Addresses, for example:
Settings for the transactionBTC_USD
OrBTC
。
function main() {
// 或者使用 exchange.SetBase("https://api.fmextest.net")
exchange.IO("base", "https://api.fmextest.net")
Log(exchange.GetAccount())
exchange.SetContractType("swap")
Log(exchange.GetDepth())
Log(exchange.GetTicker())
Log(exchange.GetOrders())
Log(exchange.GetPosition())
}
Configure exchange objects When adding an exchange object, select:
Enter the API KEY.
caiiiyuaIt seems that the simulation environment is no longer working, and it is not certain if the FMEX side has made any adjustments. /upload/asset/15a1c89dd7e1185bb1633.png
Inventors quantify - small dreamsMinor changes generally do not change the version number, you can see the compilation time, the mouse is placed on v3.6 to display the compilation time. The host download page has a host update record.
caiiiyuaThank you. I'll update it later and it will work. I found that the host updated but the version number was not updated, the change estimate is small, but the version number is still better to distinguish /upload/asset/159d22b489f242eb1c247.png
Inventors quantify - small dreamsYour administrator hasn't updated, you need to update it.