getQuote real time

2 messages Options
Embed this post
Permalink
zubin-2

getQuote real time

Reply Threaded More More options
Print post
Permalink
Hello,

Testing real time getQuote options, does not look like yahoo is
providing real time quotes via this method call? anyone know of a  
workaround? Ask (RT) and Bid (RT) are the same as the delayed quotes.


library(quantmod)
getQuote("FAS;XLF;XLE",what=yahooQF(c("Open","Bid","Ask","Last Trade
(Price Only)","Volume","Ask (Real-time)", "Bid (Real-time)")))

             Trade Time  Open   Bid   Ask  Last   Volume Ask (RT) Bid (RT)
FAS 2009-10-27 03:03:00 77.90 77.04 77.09 77.04 26999444    77.09    77.04
XLF 2009-10-27 03:03:00 14.72 14.66 14.67 14.66 79448224    14.67    14.66
XLE 2009-10-27 03:03:00 57.48 58.11 58.12 58.11 19884684    58.12    58.11

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.
Brian G. Peterson

Re: getQuote real time

Reply Threaded More More options
Print post
Permalink
zubin wrote:
> Hello,
>
> Testing real time getQuote options, does not look like yahoo is
> providing real time quotes via this method call? anyone know of a  
> workaround?

Yes.  Pay for a data feed (see RBloomberg), or get data from your broker
(see the IBrokers package, for eample)

You aren't going to get any non-delayed real-time data for free.

This topic has been discussed multiple times on this list.

   - Brian

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.