Sumber daya yang dimuat... Pemuatan...

exchange.GetQuoteCurrency

Peraturanexchange.GetQuoteCurrency()Fungsi ini digunakan untuk mendapatkan nama mata uang denominasi dari pasangan perdagangan saat ini, yaituquoteCurrency.

Peraturanexchange.GetQuoteCurrency()fungsi mengembalikan nama mata uang dari pasangan perdagangan saat ini. string

exchange.GetQuoteCurrency ((()

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())
}

Misalnya: {@var/EXCHANGE exchange} exchange objects pasangan transaksi saat ini adalahBTC_USDT, yangexchange.GetQuoteCurrency()fungsi kembaliUSDTJika pasangan perdagangan saat ini adalahETH_BTC, yangexchange.GetQuoteCurrency()fungsi kembaliBTC.

{@fun/Account/exchange.GetCurrency exchange.GetCurrency}, {@fun/Account/exchange.SetCurrency exchange.SetCurrency}

exchange.SetCurrency Masa Depan