Jdbc url for yahoo finance

Hey guys,
Can anyone please help me find out what is the JDBC url for Yahoo Finance Database that stores the values of the historical stock quotes . I desperately need it for my java application in which I require to access the database in order to get the high, low, open, close quotes of a stock index. Any help would be greatly appreciated.
Thank you,
Vivek

Hi!!
The URL to the database on the yahoo webpage is http://chart.yahoo.com/d . If you go to that link then you will be able to access the database and do a search on it.
Please reply. Any help will be greatly appreciated.
Thank you,
Vivek

Similar Messages

  • JDBC URL for Two Oracle Nodes

    Hi All,
    I have two DB nodes which are running independently (Mean no RAC), I want to configure JDBC URL for these nodes that if one node goes down my application automatically connected to second one.
    Both nodes have different HOST and SID.
    Regards,
    imran

    Hi jwenting,
    I tried following URL in PL/SQL developer and my fail over is working fine with separate nodes, Only thing i did was i keep SID of both nodes with same name.
    ERS=(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.130)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.133)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
    But strange when i connected this through JDBC URL like following it gives me error of invalid URL
    jdbc:oracle:thin:@(DESCRIPTION=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.130)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=172.21.5.133)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))
    Regards,
    imran

  • JDBC URL for Two Oracle Nodes with different SID

    Hi All,
    I have two DB nodes which are running independently (Mean no RAC), I want to configure JDBC URL for these nodes that if one node goes down my application automatically connected to second one.
    Both nodes have different HOST and SID but the tables i am going to access have same structure. we are using this DB for some logging purpose that's why we didn't choose RAC option.
    Regards,
    imran

    For RAC database, I used:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=port))(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=port)))(CONNECT_DATA=(SERVICE_NAME=servicename)))
    For non RAC database you could ommit LOAD_BALANCE setting, and set correct hostname & port for both nodes. We connected using common service name. If your databases have different service names, then the SID will have to be part of ADDRESS somehow - maybe (SID=sid).
    I have to mention though that unless the main reason behind your decision was lower cost without RAC (and you don't need to store any information apart from logs), it was a wrong decision. If you decide to store any additional information in the database for whatever reason (new requirements), you are in trouble.

  • Can't use JDBC URL for multiple LDAPs

    ColdFusion 8,0,1,195765 Enterprise (Trial)
    We use Oracle OID (LDAP) instead of tnsnames.ora to resolve database connection strings. This is how I specify one LDAP JDBC URL. On the CF admin page, Server Settings, Java and JVM, ColdFusion Class Path is set to C:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar. Under Data & Services, Data Sources, create a new source. Set JDBC URL to
    jdbc:oracle:thin:@ldap://mdaoid1.mycompany.com:389/mdad2,cn=OracleContext,dc=mycompany,dc= com
    where mdaoid1 is one of the two Oracle OID servers that resolve connection strings, and mdad2 is an entry in the two OID's sync'ed to each other. That works.
    According to many sources based on Google search for "space separated LDAP URLs", I should be able to add another LDAP server separated by space. Now I append " ldap://mdaoid2.mycompany.com:389/mdad2,cn=OracleContext,dc=mycompany,dc=com" (no quotes, added to indicate leading space) to that string. Upon clicking Submit, I get
    Connection verification failed for data source: orcl10g3
    java.sql.SQLException: For input string: "389 ldap:"
    The root cause was that: java.sql.SQLException: For input string: "389 ldap:"
    (orcl10g3 is the CF data source name I'm creating) Some say I need to replace space with %20 in the double LDAP URL. With %20, I get error
    Connection verification failed for data source: orcl10g3
    java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.InvalidNameException: Invalid name: mdad2,cn=OracleContext,dc=mycompany,dc=com ldap://mdaoid2.mycompany.com:389
    The root cause was that: java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.InvalidNameException: Invalid name: mdad2,cn=OracleContext,dc=mycompany,dc=com ldap://mdaoid2.mycompany.com:389
    Question: How do I add more than one LDAP server to the JDBC URL so I can achieve failover and load balance?
    Yong Huang
    yong321 at yahoo.com

    The message above was posted by me two years ago and was brought to my attention today. Here's a short update: The network team added a load balancer mdaoid in front of, and resolved to, mdaoid1 and mdaoid2 (in round-robin fashion). The problem described in this thread is bypassed because the JDBC URL can simply use one-OID format, in which mdaoid is used as the LDAP server.

  • How should I write HANA JDBC URL for windows authentification?

    Hi,
         I got a HANA configured windows AD authentification, which already be tested successfully on HANA Studio.
         Now my app want to use JDBC to establish a HANA connection, but I have no idea how to append the parameter at the end of the JDBC URL.
         Could someone help me?
    Thanks
    Spring

    Hi Spring,
    The URL format is
    jdbc:sap://hostnameorip:portnumber
    Portnumber is 3<instancenumber>15 -> for a instance 01 should be 30115.
    The class is com.sap.db.jdbc.Driver found on ngdbc.jar library (This don't come with Studio, get it on  SAP HANA Client)
    Regards, Fernando Da Rós

  • JDBC Url for connecting SQL Server Alias name

    Hi All,
    I am having a SqlServer Databse Instance for that we have created "alias name".
    i am unable to connect to that particular alias name.
    please can any one though light on this plz.
    Edited by: mahesh512 on Jun 17, 2009 6:48 PM

    If i am geussing right, you mean that you have created a TNS Name for your Database Server.
    If you are accessing it from your DB Client via the TNS name, maybe the CLient is configured to contact a TNS Server to retrieve the IP if the server.
    Your JDBC Driver does not do that. Either use the IP of the DB Server or provide a Source for the Driver to look up the IP via the TNS Name.
    How this is accomplished deplends on your Database.

  • JDBC url  for orcale repository

    Hi,
    I want to connect an oracle  repository as my data server.
    By giving the following url "jdbc:oracle:thin:@<server>:<port>:<service_name>" I can connect to the database of the repository.
    The database has more than one repository and what should I add to the url above to read only the repository I want.    
    SAP MII server 12.2
    oracle 9i
    Rgds,
    Arun
    Edited by: arun kurup on Dec 1, 2011 10:08 PM

    Hi
    jdfbc driver: oracle.jdbc.driver.OracleDriver
    ServerURL:   jdbc:oracle:thin:@host:port:SID

  • Strange problem with JDBC URL

    Hi All,
    I don't know whether this is a known issue which has a workaround or I am doing something wrong. But this is the problem.
    I have a nice GUI application which takes the JDBC URL, Driver, User name and password and then takes the input and tries to establish a connection with the Database. I was trying it on MySQL and I encountered a problem.
    The general format of the JDBC URL for MySQL is "jdbc:mysql://<ip_address>:<port>/<db_name> and if I have MySQL running on 3306 and if I give the URL as:
    "jdbc:mysql://localhost:9001" (where my HSQL is running), then, it never gets the connection and the application stays there forever (the call never returns after the DriverManager.getConnection() statement). And if I give the port as something else (say 9898) where nothing is running, then the getConnection() doesn't send me a SQLException.
    What could be the problem?

    Are you saying that you're connecting using the
    MySQL driver to an HSQL database, and
    that this results in a hang (rather than a timeout)?
    Just to clarify that I've understood the problem.
    If so, it should be fairly easy to get a simple test
    scenario up and running independent from your "real"
    application. Have you tried this, and could you post
    the code if so?
    Dave.Hi Dave,
    Thank you very much trying,
    Sorry if my English was poor. I am not trying to connect to HSQLDB using the MySQL Driver.
    Actually, I am trying to connect to MySQL db using the MySQL driver, but the DriverManager.getConnection() method hangs when I...
    1. Give a wrong URL e.g(jdbc:mysql://localhost:9001/")
    2. Run my MySQL on default port (3306)
    3. And If I have HSQL or any other program that is listening at port 9001.
    The problem seems to be very strange. here's the code below, you can try out yourself...
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class Demo {
         public static void main(String[] args) {
              try {
                   Class.forName("com.mysql.jdbc.Driver");
                   DriverManager.getConnection("jdbc:mysql://localhost:9001/", "user", "password"); // <-- The call hangs here
              } catch (SQLException e) {
                   e.printStackTrace();
              } catch (ClassNotFoundException e) {
                   e.printStackTrace();
    }Remember to have your mysql*.jar file in your classpath while running. :)
    Thank you....

  • Space in JDBC Url

    in the physical architecture of topology manger , when i try to insert the JDBC url for LDAP, the test connection failed and retourn this java error:
    "java.sql.SQLException: A NamingException occured saying: Cannot parse url: servizio,dc=abc,dc=net with this explanation: Cannot parse url: service,dc=abc,dc=net and this remaining name: null"
    the problem is in the name of LDAP's base search which contains spaces, like this
    "jdbc:snps:ldap?ldap_url=ldap://10.10.10.10:389/&ldap_password=KILAKMDJKKLHKJJJCDGRGPDB&ldap_basedn=ou=users,ou=account of service,dc=abc,dc=net"
    i try to escape the pace in the string "ou=account of service," with me most frequently escape char like "\" ora single or double quote and many other but were always wrong.
    someone know how can i resolve the problem? or which escape character can i use?
    Thank you
    Matteos
    Edited by: user6679008 on 26-ago-2010 6.13

    Ok, I've done this test in the past but we have an LDAP error 52e (invalid credentials)... but the same search with ldapsearch (unix command) does not have these problem.
    LDAP : error code 49 - 80090308 LdapErr: DSID-0C09030F, comment: AcceptSecurityContext error, data 52e ...
    Ex:
    ldapsearch -v -x -b 'dc=soft,dc=net' -wPASSWORD -D 'cn=USER,ou=users,ou=service account profile,dc=soft,dc=net' -h 130.130.30.1 -p 389
    Thanks a lot for your support.
    Carlo.
    PS
    The LDAP is an Active Directory
    Dev wrote:
    Carl ,
    The correct string should have been
    jdbc:snps:ldap?ldap_url=ldap://130.130.30.1:389/&ldap_password=KILAKMDJKKLHKJJJCDGRGPDB&ldap_basedn=dc=soft,dc=net
    and in the user provide cn=<what ever your cn is >,dc=soft,dc=net
    Please try this and let me knowEdited by: Carlito on 31-ago-2010 16.31
    Edited by: Carlito on 31-ago-2010 16.34

  • Finance Interactive Chart is blank in Firefox (for both Google and Yahoo Finance)

    I've tried updating Java, Flash, Silverlight (it would really be nice to know for sure what Google and Yahoo Finance use). But they all were updated. I cleared my cache, tried restarting in safe mode (which is ironic because if the plugin isn't loaded, how is the site going to display the chart), hit Ctrl+F5, flipped off the monitor, but nothing is allowing the charts to display. I had previously allowed Adobe to update Reader and restart my computer, which I think led to the blank financial charts. Now I have to use Chrome or IE.

    I've been using Firefox almost exclusively for years and didn't have problems with the Yahoo! Finance interactive charts until version 15. I just updated to 16.0.1 last evening and it didn't fix anything. I've updated Flash, tried <ctrl>f5 - nothing helps. Something was done in a recent update to create the problem. It would certainly be nice if this was undone and fixed.
    Actually, I wouldn't mind downgrading a couple versions. I didn't have any of the problems I'm having now. I'm getting to the point that if something doesn't look right, I'm bouncing over to Chrome.
    Please don't let FF slide into the same mess as IE!

  • URL info for Yahoo!

    Hello All!
    Quick question. Recently Yahoo! revised their online ad services and now it's more dependant on the listed URL information.
    I need to alter the URL for my "Welcome" page so that instead of reading www.CinemaShorts.com/Welcome it shows up as something like www.CinemaShorts.com/PopularScienceDVD.
    Here's my question - any advice on what's the best format for the URL? If I leave spaces in between Popular Science DVD I know it will appear as Popular%Science%DVD. I guess I could use the old underscore method (PopularScienceDVD) but what about having everything run together as in PopularScienceDVD? Does it make a difference when search engines compile and deliver results?
    I'm paying for per-click impressions but if someone types in the keywords "popular science" and my ad doesn't show it does me no good (and apprently the lack of a "popular science" reference on the page header info overrides my selection of "popular science" as a searchable keyword).
    Any help is much needed and greatly appreciated!
    Thanks!
    Mark

    Disassemble the login page to find the details of the form - target URL and fields. Do a HTTP POST to it (Google will turn up example code using URLConnection). Record the Cookie headers from the reply, and set them in subsequent URLConnections. See the relevant RFC for details. Java 1.5 includes some cookie management, but I haven't tried using it.

  • Yahoo finance interactive charts problem on Chrome for my iMac ML

    Somehow Yahoo finance interactive charts could not be displayed  at all on my iMac using Chrome browser, basic charts can be displayed though. No error message, looks it's loading something, but never show charts.
    I have tried to clear cache, still not working. Chrome version: Version 22.0.1229.94, iMac OS X 10.8
    Thanks

    See if Java or Flash is disabled.
    Reverse these procedures.
    Disable Java in your Browser settings, not JavaScript.
    http://support.apple.com/kb/HT5241?viewlocale=en_US
    http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064
    http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets
    See in each Browser which version of Flash it thinks it has...
    http://kb2.adobe.com/cps/155/tn_15507.html
    Then Test Adobe Shockwave & Flash Players...
    http://www.adobe.com/shockwave/welcome/

  • Help loading Yahoo finance data into SWF

    I need to retrieve data from Yahoo finance, then display it on a webpage -  from the following url:
    http://finance.yahoo.com/d/quotes.csv?s=SNA.V&f=l1sd1
    I'm able to format and display the text within my swf, however once its uploaded to the internet - the text either won't show up, or the flash player shows a security error "flash player is trying to communicate with finance.yahoo.com"
    I've tried to feed the data through to my own domain, but I'm not sure how to program for it. I've found php examples online, but I'm not sure how to implement them either. I need the stock quote price to display and update either once a day, or only when the swf loads. Currently I'm using the following code to retrieve the data (within flash):
    fl_TextLoader:URLLoader = new URLLoader();
    var fl_TextURLRequest:URLRequest = new URLRequest("http://finance.yahoo.com/d/quotes.csv?s=SNA.V&f=l1sd1");
    fl_TextLoader.addEventListener(Event.COMPLETE, fl_CompleteHandler);
    function fl_CompleteHandler(event:Event):void
              var fl_TF:TextField;
              var fl_TextToDisplay:String = new String(fl_TextLoader.data);
              var textData:String = new String(fl_TextLoader.data);
              var myTextFormat:TextFormat = new TextFormat();
              trace(textData);
              fl_TF = new TextField();
              fl_TF.autoSize = TextFieldAutoSize.LEFT;
              fl_TF.background = false;
              fl_TF.textColor = 333333;
              fl_TF.border = false;
              fl_TF.scaleZ = 200;
              fl_TF.maxChars = 22;
              fl_TF.x = 665;
              fl_TF.y = 579;
              fl_TF.text = fl_TextToDisplay;
              myTextFormat.font = "Calibri";
              myTextFormat.size = 18;
              addChild(fl_TF);
    fl_TextLoader.load(fl_TextURLRequest);

    Hi
    You can find a complete tutorial here for using Yahoo Finance in Flash.
    Source and example also available.
    Although it looks like a Phone App it can be used anywhere.
    Hope it helps.

  • Step By Step Example for Application Integrator for Yahoo or any kind of

    All EP Expert,
    I want to create yahoo or Gmail or any kind of url iView on which I can implement SSO for learning purpose on my Local laptop.
    I have installed EP SP9 on my laptop.
    I go through some blog and some discussion but I am not able to find below files mentioned in those blog.
    1. AppIntegrator.zip file to find two files
    2. com.sap.portal.howtos.webapp.par file
    3. HowToUseAppIntegrator_en.pdf file
    So I am not able to perform step by step instruction as mentioned in blogs.
    Can any one provide me any kind of documents for EP SP9 for Application Intigrator functionality basically I am interested to integrate JAva base application in my portal with SSO but if any one can provide for Yahoo or Gmail for EP SP9 it will be a great help.
    Thanks and waiting for some help on this form all EP experts.
    I will reward full points for right answer.
    Thanks in Advance.
    Ashish.

    Hi Mona,
    Thank you very much for your prompt reply.  I really appreciate if you can provide me exact location from where I can download "Application Integrator" zip file from which I can extract  "com.sap.portal.howtos.webapp.par" file as describe in example PDF file. I tried very hard to find on SDN and "help.sap.com"  but could not find it.
    If you have it with you then please send it to me on my email ID [email protected]
    Or please tell me exact location from where I can download it.
    I give 10 points for this help.
    Thanks in Advance.
    Ashish.

  • Creating a service ; What needs to be added to tnsnames.ora and JDBC url?

    DB version: 11.2.0.2
    OS platform : Solaris 10
    We have a 2 node RAC.
    DB name   = mbsprd
    Instance1  = mbsprd1
    Instance2  = mbsprd2I want Instance 1 (mbsprd1) to be used for our OLTP application and Instance 2 (mbsprd2) to be used for another application of DSS nature.
    Based on the syntax
    srvctl add service -d <dbname> -s <ServiceName> -r <Preferred Instance> -a <Available Instance>I am going to create 2 services
    -- Creating a service called OLTP
    srvctl add service -d mbsprd -s OLTP  -r mbsprd1 -a mbsprd2-- Creating a service called DSS
    srvctl add service -d mbsprd -s DSS  -r mbsprd2 -a mbsprd1-- Starting the services
    srvctl start service -d mbsprd -s OLTP
    srvctl start service -d mbsprd -s DSSI guess the above steps are enough to configure a service at the server side.
    I would like to know what needs to be done at the client side.
    Currently the tnsnames.ora file and JDBC url used by our clients are shown below. What needs to be added to tnsnames.ora file and jdbc URL to start using services configured above?
    -- SCAN based TNS entry
    mbsprd =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (COMMUNITY = tcp.world)
            (PROTOCOL = TCP)(Host = p148149-scan.tpam.net) (Port = 36964))
        (CONNECT_DATA =
          (SERVER       = DEDICATED)
          (SERVICE_NAME = mbsprd)
          (FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))
    -- TNS entry based on local listener
    -- Instance 1
    mbsprd1 =
    (DESCRIPTION =
       (ADDRESS_LIST =
       (ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp148-vip)(PORT = 36973))
       (CONNECT_DATA =
             (SERVICE_NAME = mbsprd)
             (INSTANCE_NAME = mbsprd1)
    -- Instance 2
    -- TNS entry based on local listener
    mbsprd2 =
    (DESCRIPTION =
       (ADDRESS_LIST =
       (ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp149-vip)(PORT = 36973))
       (CONNECT_DATA =
             (SERVICE_NAME = mbsprd)
             (INSTANCE_NAME = mbsprd2)
    )JDBC entry for RAC
    jdbc:oracle:thin:@p148149-scan.tpam.net:36964:mbsprd -- Alternative version used by some clients because the above had 'some issues'
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=p148149-scan.tpam.net) (PORT=36964))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=mbsprd)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 10))))

    OLTP =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = OLTP)
    DSS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DSS)
      )JDBC entry for RAC
    jdbc:oracle:thin:@p148149-scan.tpam.net:36964:service_name
    jdbc:oracle:thin:@new_tns_entry_description(if you would like to connect the database with particular service)
    try this and let us know any issues,

Maybe you are looking for

  • Using a 3rd party router for Multicast

    Hi all, There’s a lot of feedback on this board about using third party routers with Multicast, so we’ve decided to put this information all in the one place for you. NOTE: the workarounds below haven’t been tested by BT as we do not support 3rd part

  • IMac G3 chimes two to four times upon boot and fails to load.

    Hello, all. Today, I moved my aunt from my old iMac G3 to my less old iMac G4. The iMac G3 was working great still at her house, so I decided to take it home with me to replace the iMac G4. I didn't really plan on using it to any extent, but thought

  • I tries resetting my password but my apple Id is still disabled, why is that?

    Why can't I update apps when I have already done resetting my password? I already tried all. Is there a contact number I can call?

  • Query regarding Replicated Caches that Persist on Disk

    I need to build a simple fault tolerant system that will replicate cache entries across a small set of systems. I want the cache to be persistent even if all cluster members are brought down. Is this something that requires writing a custom CacheStor

  • Movies in itunes won't show in ipod... :(

    Hi, I've finally worked out how to put video into itunes. I've used handbrake to change dvd's to mpg4 and now I've moved them into itunes but they don't show up in my ipod. What am I doing wrong? Thanks