You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a potential for an infinite loop if getSymbols.yahooj is called on a symbol that has no data. For example, getSymbols("foo", src="yahooj"). The patch below seems to fix the issue.
Looks good to me, @joshuaulrich. Checked the source for such a page, and indeed there is no table matching that xpath.
I think we need a better method to check for historical data, but then I'd need a company that is going IPO and is registered, but does not have any historical data, to see what totalrows looks like then.
The while() loop never terminates if there is no table matching the
xpath used to create 'rows'. Break if there is less than one row, and
then throw an error.
Fixes#63.
There's a potential for an infinite loop if
getSymbols.yahooj
is called on a symbol that has no data. For example,getSymbols("foo", src="yahooj")
. The patch below seems to fix the issue.@wthielen what do you think?
The text was updated successfully, but these errors were encountered: