Products & Services Industries Academia Support User Community Company

Learn more about Datafeed Toolbox   

yahoo - Connect to Yahoo! data servers

Syntax

Connect = yahoo
Connect = yahoo('URL', 'IPAddress', PortNumber)

Arguments

URL

Must be http://quote.yahoo.com.

IPAddress

A MATLAB string containing the IP address of the proxy server machine.

PortNumber

Port number on proxy server.

Description

Connect = yahoo verifies that the URL http://quote.yahoo.com is accessible and creates a connection handle.

Connect = yahoo('URL', 'IPAddress', PortNumber) connects to Yahoo! through a proxy server using the IP address and port number provided. This form of the yahoo function may be required when connecting to Yahoo! from behind an internal firewall.

Examples

Connect to the Yahoo! data server:

Connect = yahoo
Connect =
     url: 'http://quote.yahoo.com'

Connect to the Yahoo! data server, providing an IP address and port number on a proxy server:

Connect = yahoo('http://quote.yahoo.com','111.222.33.444',5678)
Connect =
      url: 'http://quote.yahoo.com'
      ip: '111.222.33.444'
    port: 5678

See Also

yahoo.close, yahoo.fetch, yahoo.get, yahoo.isconnection

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS