powered by
Retrieves historical data of a stock from Moscow Exchange (MOEX) using its API.
getSymbols.Moex( Symbols, env = globalenv(), from = "2007-01-01", to = Sys.Date(), adjust = FALSE, period = "day", market = NULL, verbose = FALSE, auto.assign = FALSE, ... )
xts object with historical data
character vector of ticker symbols to retrieve data for
environment where data is stored
character string specifying the start date (default: '2007-01-01')
character string specifying the end date (default: Sys.Date())
logical flag indicating whether to adjust prices for dividends and splits (default: FALSE)
character string specifying the interval of the data ('day', 'hour', '10min', or '1min'; default: 'day')
character string specifying the market of the data (default: NULL)
logical flag indicating whether to print progress messages (default: FALSE)
logical flag indicating whether to automatically assign the resulting data to objects with the same names as Symbols (default: FALSE)
Additional arguments.
Vyacheslav Arbuzov
data <- getSymbols.Moex('GAZP', from='2022-01-01', to='2022-01-10', period='day', auto.assign=FALSE)
Run the code above in your browser using DataLab