Timeline for FinancialData don't give the right result
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 31, 2021 at 11:38 | answer | added | Jiri | timeline score: 2 | |
Aug 30, 2021 at 3:06 | review | Close votes | |||
Sep 26, 2021 at 3:04 | |||||
Aug 30, 2021 at 2:49 | comment | added | creidhne |
Try adding the PlotRange -> All option to each DateListPlot .
|
|
Aug 29, 2021 at 10:17 | history | edited | Jiri |
edited tags
|
|
Aug 29, 2021 at 6:34 | comment | added | Jiri | I think the issue is the different dimension of the two time series - the gold has got more trading dates (entries) than there are trading dates of SP500. Would you agree? | |
Aug 29, 2021 at 6:03 | history | edited | Jiri | CC BY-SA 4.0 |
added 153 characters in body
|
Aug 29, 2021 at 6:02 | comment | added | Jiri |
PlotRange doesn't change anything with DateListPlot[{zlato, sp500}, PlotLegends -> {"gold", "SP500"}, PlotRange -> {{{2020}, {2021}}, Automatic}] you get a more detailed plot obviously, but still with missing data for SP500.
|
|
Aug 29, 2021 at 5:58 | comment | added | Jiri |
zlato is zlato = FinancialData["XAU/USD", {2007, 1, 1}, Method -> "Legacy"]
|
|
Aug 29, 2021 at 5:57 | history | edited | Jiri | CC BY-SA 4.0 |
added 115 characters in body
|
Aug 28, 2021 at 21:32 | comment | added | flinty |
What is zlato? You forgot to include its definition. DateListPlot[sp500] is up to date for me in v12.3.1. Are you sure you aren't just missing a PlotRange option in the DateListPlot ?
|
|
Aug 28, 2021 at 21:25 | history | asked | Jiri | CC BY-SA 4.0 |