Les ressources ont été chargées... Je charge...

exchange.GetQuoteCurrency

Leexchange.GetQuoteCurrency()la fonction est utilisée pour obtenir le nom de la monnaie libellée de la paire de négociation en cours, c'est-à-direquoteCurrency.

Leexchange.GetQuoteCurrency()La fonction renvoie le nom de la devise libellée de la paire de négociation en cours. chaîne

La monnaie de l'échange.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())
}

Par exemple: {@var/EXCHANGE exchange} est la paire de transactions courante de l'objet d'échangeBTC_USDT, leexchange.GetQuoteCurrency()Retour de la fonctionUSDT. Si la paire de négociation actuelle estETH_BTC, leexchange.GetQuoteCurrency()Retour de la fonctionBTC.

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

exchange.SetCurrency Les contrats à terme