added method to get fiat currency rate
Added method to get fiat currency rate and write btc rate to json