Dieexchange.GetQuoteCurrency()
Die Funktion wird verwendet, um den Namen der Währung des aktuellen Handelspaares zu erhalten, d. h.quoteCurrency
.
Dieexchange.GetQuoteCurrency()
Funktion gibt den Namen der Währung des aktuellen Handelspaares zurück.
String
Wechsel.GetQuoteWährung
function main() {
exchange.SetCurrency("BTC_USDT")
Log("BTC_USDT denominated currency name:", exchange.GetQuoteCurrency())
// exchange.SetCurrency("ETH_BTC")
// Log("ETH_BTC denominated currency name:", exchange.GetQuoteCurrency())
}
def main():
exchange.SetCurrency("BTC_USDT")
Log("BTC_USDT denominated currency name:", exchange.GetQuoteCurrency())
# exchange.SetCurrency("ETH_BTC")
# Log("ETH_BTC denominated currency name:", exchange.GetQuoteCurrency())
void main() {
exchange.SetCurrency("BTC_USDT");
Log("BTC_USDT denominated currency name:", exchange.GetQuoteCurrency());
// exchange.SetCurrency("ETH_BTC")
// Log("ETH_BTC denominated currency name:", exchange.GetQuoteCurrency())
}
Zum Beispiel: {@var/EXCHANGE exchange} exchange objectBTC_USDT
, dieexchange.GetQuoteCurrency()
Funktion gibt zurückUSDT
. Wenn das aktuelle HandelspaarETH_BTC
, dieexchange.GetQuoteCurrency()
Funktion gibt zurückBTC
.
{@fun/Account/exchange.GetCurrency exchange.GetCurrency}, {@fun/Account/exchange.SetCurrency exchange.SetCurrency}
exchange.SetCurrency Futures