[R-SIG-Finance] Another new bug with quantmod

Noah Silverman noah at smartmediacorp.com
Thu Nov 25 10:02:06 CET 2010


The error appears when you call the function with the "Exp = NULL" flag

getOptionChain("APPL")  WORKS
getOptionChain("AAPL", Exp = NULL)  FAILS.



On 11/24/10 9:46 PM, Johnson, Cedrick W. wrote:
> Seems to be working here
>
> $`Nov 2010`
> $`Nov 2010`$calls
>                     Strike  Last   Chg   Bid   Ask   Vol    OI
> AAPL101126C00230000    230 79.40  0.00 83.95 85.85    32    95
> AAPL101126C00240000    240 68.60  0.00 73.50 75.40    17    15
> AAPL101126C00250000    250 58.30  0.00 63.95 65.35    25    25
> AAPL101126C00260000    260 47.75  0.00 54.00 55.80    47   120
> <snip>
>
>
> .. using xts 0.7.5 as well.. Perhaps was an intermittent Y! outage?
>
> -c
>
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R 
> questions should go.



More information about the R-SIG-Finance mailing list