I want to save financial data obtained from the following code:
data = FinancialData["GE","OHLCV", "Jan. 1, 2000"];
Format:
{{yy, mm, dd}, {O, H, L, C, V}}
I want 2 columns, one for { date }, the other for { O , H , L , C , V }, but in the second column I want to process each individual value (for example, a list?)
I tried:
Export[dir <> filename <> ".csv", data];
data1 = Import[dir <> filename <> ".csv", "Table"];
And also in other formats, "List", etc.
The problem is that I have a working program for checking data, and it works fine when I get it from FinancialData, but I just can not find a way to export and import, as if I did FinancialData ...
For example, I can’t think:
C = Table[data1[[i]][[2]][[4]], {i, 1, n}];
(, , , data1)
?