powered by
Make a call to the Binance API and get the current XLM market price.
price(currency = "USDT", live = FALSE)
character - current pairings are USD, ETH, BTC and BNB. USD is worked out indirectly via BTC with two API calls.
boolean - if true, a while loop will continuously get the latest price and print it to the screen.
numeric
# NOT RUN { price("USD") # }
Run the code above in your browser using DataLab