[R-SIG-Finance] quantmod::getOptionChain() errors

rex rex at nosyntax.net
Thu Oct 11 00:20:01 CEST 2012


Jeff Ryan <jeff.a.ryan at gmail.com> [2012-10-10 14:56]:
>> getOptionChain("F")
>$calls
>                 Strike Last   Chg  Bid  Ask  Vol    OI
>F121020C00001000    1.0 9.07  0.00 8.90 9.20    2     1
>F121020C00006000    6.0 4.30  0.00 3.95 4.00    5   182
[...]
>
>$puts
>                 Strike Last  Chg  Bid  Ask  Vol    OI
>F121020P00005000    5.0 0.03 0.00   NA 0.01  329   329
>F121020P00007000    7.0 0.01 0.00   NA 0.02   50  1382
>F121020P00008000    8.0 0.01 0.00   NA 0.02    1 16347
[...]
>
>Works for me, at the moment.
>
>Make sure the data is really coming back. You may have some other
>issue in the connection. Or just bad luck in terms of which Yahoo
>server that got hit.

I started another R session and it works. Still didn't work in
the other session. Exited R, reloaded and now it works. 

Sorry for the false alarm. :(

>Also, MNT isn't valid in Yahoo land.  So that is failing for other reasons.

Ah, that was a typo. It was MNTA that I was looking at in the browser.

Thanks for the quick response and the extremely useful quantmod package!

-rex



More information about the R-SIG-Finance mailing list