function BTC(price,amount){
var buy = exchange.IO(api, POST tag, /submitOrder.php tag, mk_type=usdt tag + &coinname=btc tag + &type=1 tag + &price=+price + &amount=+amount + &tag=121 tag)
I'm not sure.
I want to implement my own package of different transactions for the buy and sell function can it be written like this? I want to call BTC.buy ((price,amount) at any location how to write beginner request bow thank you~~