View source: R/stooq_download.R
| stooq_download | R Documentation |
Download financial time series from https://stooq.pl/ in .csv format.
stooq_download( symbol, start_date = 20000101, end_date = 20211231, interval = "d", destination )
symbol |
Asset ticker from https://stooq.pl/ |
start_date |
Format 'yyyymmdd'. Default set to 20000101 |
end_date |
Format 'yyyymmdd'. Default set to 20211231 |
interval |
Default set to 'd'. Other interval available are 'w', 'm', 'q', 'y' |
destination |
Destination folder to save .csv file. Deafault is your current working directory. |
stooq_download('cdr', 20100101, 20211231)
stooq_download(
'wig20'
,20100101
,20211231
,'w'
,'C:\\Windows\\Temp\\'
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.