log spot price history to firebase