The following command achieve my goal by grepping
BTC
price from specific exchange.
curl -sS https://api.binance.com/api/v1/ticker/price?symbol=BTCUSDT | jq -r '.price'
the output will be for the moment 7222.25000000
but i would like to get it 7222.25
Asked by αԋɱҽԃ αмєяιcαη
(1267 rep)
May 12, 2019, 06:31 AM
Last activity: Feb 19, 2025, 08:29 PM
Last activity: Feb 19, 2025, 08:29 PM