View source: R/GetFinancialStatementV2_NotWorking.R View source: R/GetFinancialStatement.R
GetFinancialStatement | R Documentation |
Get data of quaterly Financial Statements
GetFinancialStatement(Symbol='SAP',
URL='yahoo', Silent = TRUE,Port=4445L,...)
Symbol |
ticker string |
URL |
provider of data as a string yahoo: automatic web scrapping morningstar: uses api to data bases |
Silent |
if no warnings=TRUE |
Port |
in the caseof yahoo: port accessable for direct internet connection |
... |
in the case of yahoo: further arguments for |
yahoo and morningstar work currently.
In the case of yahoo each stock puts up a mozilla rust profile in .../Users/<admin>/AppData/Local/Temp of 100 mb which has to be deleted manually after the process of web scrapping
dataframe of financial statements
morningstar api shuts requests randomly out
Michael Thrun, Hamza Tayyab
Thrun, M.C., Knowledge Discovery in Quarterly Financial Data of Stocks Based on the Prime Standard using a Hybrid of a Swarm with SOM, in European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning (ESANN), M. Verleysen, Editor. 2019: Bruges, Belgium
GetFinancialTimeSeries
DF=GetFinancialStatement(Symbol='SAP',URL='morningstar')
Symbols=GetYahooSymbols()
n=length(Symbols)
FinancialStatement=c()
for(i in 1:n){
try({
temp=GetFinancialStatement(Symbols[i],'yahoo',check=F)
FinancialStatement=c(FinancialStatement,temp)
})
print(i)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.