http://www.solvith.com require("devtools")
require("TTR")
require("XML")
require("quantmod")
require("rjson")
install_github("solvith/sgxhelper")
- getSGXStocks() - Get list of stocks and ticker from SGX market
-
getYahooPrice - get historical adjusted price for a stock
e<-new.env()
getYahooPrice(e,Symbols = "Z74.SI",from = "2015-01-01")
e$Z74.SI - getGooglePrice(symbol = "Z74",period = "1d",freq = 60) - Get Intraday price of singtel , 60s interval
-
Grab financial data from WSJ :
getWSJFinancials(ticker = "Z74",interval = "quarter")
getWSJFinancials(ticker = "Z74",interval = "annual")