Functions to forecast security price in US stock markets
Thank you so much for your interest in this project. I hope you find this resource as interesting and useful as I have. You'll find start up instructions further down but lets get some admin out of the way.
renarin_short(ticker, lag = 20, zoom_in = FALSE)
renarin_short(ticker, lag = 20, zoom_in = TRUE)
?renarin_short
ggplot(data = df, aes(x = date, y = fitted_actual)) +
geom_point(aes(y = close)) + geom_line() +
labs(title = "some informative title") +
scale_x_date(date_breaks = "4 weeks")
I don't recommend messing with the "vendor" parameter in renarin_short. That is mostly there so I can switch back and forth between the free yahoo data feed and the one I pay for.
the default modeling parameters are just examples - forecasts using them have been shown to be very poor at predicting price.
I highly recommend messing with them just to get a sense of what they all do and how they impact the forecasting results.
Most of the current functionality is through the renarin_short function. There are a few in-development areas that you probably don't want to touch. The create_reference document is an in-development group of functions for putting together a training dataset for other machine learning forecasting methods I have planned. I'm guessing they will break as currently written outside of my laptop.
To try and preserve some balance with my main gig as a researcher, I am not able to be available all the time for support - if you have questions, email me at dweav94@gmail.com and I'll try to get back to you.
I have not found these single-stock forecasts to be very useful for guiding investment decisions. I am putting this package out as is mostly as a teaching/learning tool but its possible that someone smarter than me could tweak the parameters or extend the modeling framework to make useful inferences about future stock movement.
You can find me on venmo www.venmo.com/Davis-Weaver
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.