I'm halfway out of the house and I'm not very good at programming, so I had two problems in the process of using it.
1、exchange.IOThis function, on the Bitmex, is a function that is a function of the number of bits in the bitmap. I thought about the next stop loss assignment, and I tried.exchange.IOThe following is a list of the most common types of ordering: So that's fine, but what if I want to replace the price and the quantity with variables?
2, in the FMZ environment, what functions can be used to directly use the HTTP interface and receive its return values?
Cao JunThank you, boss!
Inventors quantified> You can do this by substituting variables What's up? the price of var = 4000; var is equal to 1; The exchange.IO is also known as "API", "POST", "/api/v1/order", "symbol=XBTUSD&side=Buy&orderQty="+amount+"&stopPx="+price+"&ordType=Stop"); What's up? > HTTP interface with HttpQuery I'm going to try to do it. What's up? It's a great way to get started. HttpQuery (("http://www.163.com", "a=1&b=2&c=abc"); // Post What's up? So, if you want to learn a little bit of the basics of JS, then you can learn a little bit of writing strategies.