Description Usage Arguments Value Author(s) Examples
View source: R/quoteStockTsData.R
quote foreign exchange rate from Yahoo!-finance-Japan
1 | quoteFXTsData(x, since = NULL, start.num = 0, date.end = NULL, time.interval = 'daily')
|
x |
<currencypair_code> ex: USDJPY=X |
since |
'YYYY-MM-DD' ex:'2009-01-01' |
start.num |
offset. ex:50 |
date.end |
'YYYY-MM-DD' ex:'2009-01-01' |
time.interval |
Data frequency.Possible types are 'daily','weekly', or 'monthly'. |
A Data frame. ( $date, $open, $height, $low, $close)
Yohei Sato <yokkuns@tkul.jp> Nobuaki Oshiro <akiaki5516@gmail.com> Shinichi Takayanagi <teramonagi@gmail.com>
1 2 3 4 5 6 7 | ## Not run:
fx <- quoteFXTsData("USDJPY=X")
head(fx)
fx <- quoteFXTsData("USDJPY=X",since="2009-01-01",date.end="2010-05-31",time.interval="monthly")
head(fx)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.