Description Usage Arguments Value Examples
Functions downloads historical stock data from YAHOO finance and returns a data frame with a special class "stockdata". The output can be serialized to protocol buffer "stocks".
1 | download_stocks(symbol = "YHOO")
|
symbol |
Stock ticker symbol. Usually string of 3 or 4 characters. |
a data frame with class "stockdata"
1 2 3 | google <- download_stocks("GOOG");
serialize_pb(google, "msg_stocks.bin", "stocks");
serialize_pb(google, "msg_dataframe.bin", "dataframe");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.