title: How to use 'quantmod' to get yahoo FX rate for a specific date?
body: <p>I'm using below code to get FX Rate</p>
  
  <pre><code>library(quantmod)
  from &lt;- c("CAD", "JPY", "USD")
  to &lt;- c("USD", "USD", "EUR")
  getQuote(paste0(from, to, "=X")) 
  </code></pre>
  
  <p>However, that gives me current quotes. How to get the quotes for a specific date, say 2019-7-20? It would be the best if you can modify based on the code I have instead of finding new functions. Thanks!</p>