Best method to store and use JSON Api data?
-
So I'm creating a Bitcoin price watching client. I'm basing prices on the Cryptsy API, which returns market information (what I'll be displaying in QML) in JSON format.
I want to save the JSON data every 15 minutes for up to 4 hours so I can make basic price charts. Should I just save the market data to a file 16 times? Or should I load each to an SQL database and use queries to access the information?
Here's the JSON data I'll be accessing: http://pubapi.cryptsy.com/api.php?method=marketdatav2
-
Hi,
What is the volume of the data ? Depending on it you could even just keep it in memory. Anyway, I'd go for a database since it will be easier to access if you need to do some data manipulation.
Hope it helps