Sub Sell_Order (instrument As String, vol As Double,rate As Double)As ResumableSub
Dim params As String = $"{"Market":""$ & instrument.ToUpperCase & $"/BTC","Type":"Sell","Rate":"$ & Main.sci(rate) & $","Amount":"$ & Main.sci(vol) & $"}"$
Log (params)
CoinFinder.writeerrlog(params)
'SendtoCryptopia("sell-" & instrument,"SubmitTrade",params)
wait for (SendtoCryptopia("sell-" & instrument,"SubmitTrade",params)) complete
End Sub