Skip to content

How to get data from another source when the first one fails...

1 message · Joshua Ulrich

#
On Wed, Sep 30, 2015 at 8:16 PM, George Kumar <grgkumar4 at gmail.com> wrote:
Write your own getSymbols function, e.g. getSymbols.csv2yahoo.  Then
wrap your call to getSymbols.csv in a try or tryCatch call.  If the
getSymbols.csv call fails, you can then call getSymbols.yahoo.