# Beginner Question:  How to use DateListPlot to plot two FinancialData sets?

**URL:** <https://community.wolfram.com/t/beginner-question-how-to-use-datelistplot-to-plot-two-financialdata-sets/3284>\
**Category:** Questions\
**Tags:** mathematica\
**Created:** [September 12, 2014, 10:27pm UTC](https://community.wolfram.com/t/beginner-question-how-to-use-datelistplot-to-plot-two-financialdata-sets/3284 "2014-09-12T22:27:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukiari](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@sukiari](https://community.wolfram.com/u/sukiari)\
**Post date:** [September 12, 2014, 10:27pm UTC](https://community.wolfram.com/t/beginner-question-how-to-use-datelistplot-to-plot-two-financialdata-sets/3284/1 "2014-09-12T22:27:09Z")

</div>

I want to plot (just for fun) Gold and Silver on a date list plot. My code looks like this:

DateListPlot[{FinancialData[“GLD”, “Jan 1,2006”]}, {FinancialData[“SLV”, “Jan 1,2006”]}, Joined → True, PlotLegends → {“Gold”, “Silver”}]

While Mathematica doesn’t throw any errors, it also doesn’t plot (or label) silver! My resulting plot looks like this:

 ![ScreenShot2014-09-12at3.25.27PM.png](https://global.discourse-cdn.com/wolfram/original/2X/5/5141c39f1f263ca6699779bc32c70db927bab650.png)

Could anybody clue me in to what my error is?

---

<div class="post-metadata">

**Author:** ![mayest](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@mayest](https://community.wolfram.com/u/mayest)\
**Post date:** [September 13, 2014, 12:17am UTC](https://community.wolfram.com/t/beginner-question-how-to-use-datelistplot-to-plot-two-financialdata-sets/3284/2 "2014-09-13T00:17:27Z")

</div>

You have some braces that you don’t need. This will work:

```
DateListPlot[{FinancialData["GLD", "Jan 1,2006"], 
  FinancialData["SLV", "Jan 1,2006"]}, Joined -> True, 
 PlotLegends -> {"Gold", "Silver"}]

```

Use the braces to hold all of the series that you want to plot, not each individual one.

Tim

---

<div class="post-metadata">

**Author:** ![sukiari](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@sukiari](https://community.wolfram.com/u/sukiari)\
**Post date:** [September 13, 2014, 2:18am UTC](https://community.wolfram.com/t/beginner-question-how-to-use-datelistplot-to-plot-two-financialdata-sets/3284/3 "2014-09-13T02:18:13Z")

</div>

Thanks a lot Tim!
