Вexchange.GetQuoteCurrency()
Функция используется для получения названия деноминированной валюты текущей торговой пары, т.е.quoteCurrency
.
Вexchange.GetQuoteCurrency()
Функция возвращает название валюты текущей торговой пары.
строка
Обмен.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())
}
Например: {@var/EXCHANGE exchange} exchange objectBTC_USDT
,exchange.GetQuoteCurrency()
функция возвращаетUSDT
. Если текущая торговая параETH_BTC
,exchange.GetQuoteCurrency()
функция возвращаетBTC
.
{@fun/Account/exchange.GetCurrency exchange.GetCurrency}, {@fun/Account/exchange.SetCurrency exchange.SetCurrency}
exchange.SetCurrency Фьючерсы