O recurso está a ser carregado... Carregamento...

exchange.GetQuoteCurrency

Oexchange.GetQuoteCurrency()A função é utilizada para obter o nome da moeda denominada do par de negociação corrente, ou seja,quoteCurrency.

Oexchange.GetQuoteCurrency()A função devolve o nome da moeda denominada do par de negociação corrente. cordel

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

Por exemplo: {@var/EXCHANGE exchange} exchange objects atual par de transações éBTC_USDT, oexchange.GetQuoteCurrency()função retornaUSDT. Se o par de negociação corrente forETH_BTC, oexchange.GetQuoteCurrency()função retornaBTC.

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

exchange.SetCurrency Futuros