I've been trying to figure out for several hours how I would extract data from this file. Usually you can iterate through the keys using a for loop. But since the "main keys" are irregular i.e. Dates. How would I access all the data? I want to be able to extract all "1. open"
values and put them into an array and not have to input the dates manually as keys.
I tried implementing a calendar looping system where you select starting date and end date and then use that fluctuating variable as a key, but I feel like that is overkill.
{
"2020-02-06": {
"1. open": "699.9200",
"2. high": "795.8300",
"3. low": "687.0000",
"4. close": "748.9600",
"5. volume": "39647744"
},
"2020-02-05": {
"1. open": "823.2600",
"2. high": "845.9800",
"3. low": "704.1106",
"4. close": "734.7000",
"5. volume": "48423837"
},
"2020-02-04": {
"1. open": "882.9600",
"2. high": "968.9899",
"3. low": "833.8800",
"4. close": "887.0600",
"5. volume": "60938758"
},
"2020-02-03": {
"1. open": "673.6900",
"2. high": "786.1400",
"3. low": "673.5200",
"4. close": "780.0000",
"5. volume": "47233495"
},