It's used for bitcoins, like BTC/USD. exchange.Buy ((-1,10) This operation is to open 10 BTC instead of 10 USDT. I don't see any other convertible type of conversion to usdt.
You can use exchange.Buy ((amount/ticker.Sell).