SOAP finance requests?

Discussion in 'Java' started by Robert M. Gary, Nov 11, 2005.

  1. I'm trying to get historic stock returns for a web-app I want to put
    together. Does anyone know of a source of such data? I see some SOAP
    sites that offer quotes but I need the previous 30 months of returns to
    generate my graphs.
    Thanks!
    -Robert
     
    Robert M. Gary, Nov 11, 2005
    #1
    1. Advertisements

  2. Robert M. Gary

    Joan Guest

    I get mine from "finance.yahoo.com"

    "Robert M. Gary" <> wrote in message
    news:...
    > I'm trying to get historic stock returns for a web-app I want
    > to put
    > together. Does anyone know of a source of such data? I see some
    > SOAP
    > sites that offer quotes but I need the previous 30 months of
    > returns to
    > generate my graphs.
    > Thanks!
    > -Robert
    >
     
    Joan, Nov 11, 2005
    #2
    1. Advertisements

  3. What is the SOAP protocol for that? I want to allow people to enter a
    list of stocks and then produce financial models for them.
     
    Robert M. Gary, Nov 11, 2005
    #3
  4. Robert M. Gary

    Joan Guest

    "Robert M. Gary" <> wrote in message
    news:...
    > What is the SOAP protocol for that? I want to allow people to
    > enter a
    > list of stocks and then produce financial models for them.


    Don't know about soap, your original request was:

    "I'm trying to get historic stock returns for a web-app I want to
    put
    together. Does anyone know of a source of such data?"
     
    Joan, Nov 11, 2005
    #4
  5. Ok, forget the SOAP. How does your web-app retrieve the data from
    finance.yahoo.com?
    -Robert
     
    Robert M. Gary, Nov 11, 2005
    #5
  6. Robert M. Gary

    Joan Guest

    "Robert M. Gary" <> wrote in message news:...
    > Ok, forget the SOAP. How does your web-app retrieve the data from
    > finance.yahoo.com?
    > -Robert


    In a nutshell you generate a url
    For testing you can paste the url into your browser

    // coTick is the ticker symbol like "IBM"
    // a=month, b=day, c=year of the older date
    // d=month, e=day, e=year of the newer date
    u = "http://ichart.finance.yahoo.com/table.csv?s=" + coTick + "&a=" + ya + "&b="
    + yb + "&c=" + yc + "&d=" + yd + "&e=" + ye + "&f=" + yf + "&g=" + yg;

    try {
    url = new URL(u);
    // then you download the url
     
    Joan, Nov 12, 2005
    #6
  7. Cool. That should work. I'll get back an html that I can use to scrape
    out the data and apply the numbers to my formulas.

    -Robert
     
    Robert M. Gary, Nov 12, 2005
    #7
  8. Robert M. Gary

    Joan Guest

    "Robert M. Gary" <> wrote in message
    news:...
    > Cool. That should work. I'll get back an html that I can use to
    > scrape
    > out the data and apply the numbers to my formulas.
    >
    > -Robert


    Even better, you get a text file in the csv format so you can use
    split
    on each line to get the data.
     
    Joan, Nov 12, 2005
    #8
  9. Awesome! That's great to know!
     
    Robert M. Gary, Nov 13, 2005
    #9
  10. BTW: How do you come across this type of information? I didn't see
    anything advertised by yahoo about this? Is there a directory of these
    types of resources? Is there a limited number of queries that can come
    from an IP? Should I use an applet to keep it from looking like all the
    requests are coming from my web page :) ?
     
    Robert M. Gary, Nov 13, 2005
    #10
  11. Robert M. Gary

    Joan Guest

    "Robert M. Gary" <> wrote in message
    news:...
    > BTW: How do you come across this type of information? I didn't
    > see
    > anything advertised by yahoo about this? Is there a directory
    > of these
    > types of resources? Is there a limited number of queries that
    > can come
    > from an IP? Should I use an applet to keep it from looking like
    > all the
    > requests are coming from my web page :) ?


    I found it accidently on someone's blog - forgot where.

    I think you can request as often as you like, but have not tested
    it.
     
    Joan, Nov 13, 2005
    #11
  12. Robert M. Gary

    Roedy Green Guest

    On Sat, 12 Nov 2005 14:08:00 -0600, "Joan" <>
    wrote, quoted or indirectly quoted someone who said :

    >Even better, you get a text file in the csv format so you can use
    >split
    >on each line to get the data.

    or use a CSVReader. See http://mindprod.com/jgloss/csv.html
    --
    Canadian Mind Products, Roedy Green.
    http://mindprod.com Java custom programming, consulting and coaching.
     
    Roedy Green, Nov 14, 2005
    #12
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cory
    Replies:
    2
    Views:
    1,617
    Eric Lawrence [MSFT]
    Feb 20, 2004
  2. Fernando Arámburu

    web requests and mobile requests

    Fernando Arámburu, Apr 8, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    634
    Joerg Jooss
    Apr 8, 2005
  3. Ron Eggler

    SOAP-requests?

    Ron Eggler, Jan 3, 2006, in forum: HTML
    Replies:
    6
    Views:
    896
    Andy Dingley
    Jan 5, 2006
  4. Chiara Popalopa

    SOAP requests

    Chiara Popalopa, Mar 30, 2005, in forum: XML
    Replies:
    3
    Views:
    1,109
    Martin Honnen
    Mar 30, 2005
  5. Jay

    SOAP requests

    Jay, Apr 10, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    460
    bruce barker
    Apr 11, 2007
  6. aaa

    Tool for intercepting SOAP requests

    aaa, Mar 7, 2005, in forum: ASP .Net Web Services
    Replies:
    7
    Views:
    763
    Pete Wood
    May 9, 2005
  7. Peter Kron

    How to diagnose bad SOAP requests to ASP.NET Web Service

    Peter Kron, Aug 23, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    329
    Stephen Ahn
    Aug 24, 2005
  8. David Clegg

    Changing the Namespace URI used for incoming SOAP requests

    David Clegg, May 5, 2008, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    319
    David Clegg
    May 5, 2008
Loading...