0
Follow
0
Followers
function BTC(price,amount){
var buy = exchange.IO("api", "POST", "/submitOrder.php", "mk_type=usdt" + "&coinname=btc" + "&type=1" + "&price="+price + "&amount="+amount + "&tag=121")
}
函数如上 我想要实现自己封装不同交易对买卖函数 这样写可以吗?想在任何位置用BTC.buy(price,amount)调用要怎么写 新手求解 鞠躬感谢~~
Related Recommendations
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization
Comment
All comments (1)
6 years ago
- 1
