Close Price Currency Converter

Last post 11-26-2009 5:29 AM by mendhak. 5 replies.

Sort Posts:

  • Close Price Currency Converter

    11-03-2009, 11:53 AM
    • Member
      1 point Member
    • maryamsh
    • Member since 03-03-2008, 6:27 PM
    • Posts 40

    Hi

    In my website I am using the "net.webservicex.www" webservice for currency converter.  Everything works great but the problem is that, this webservice returns the real time rate value but I need to have a close price rate (for example the day before).

    Is there any webserivce that I can use for this purpose?

     

    Thanks in advance

  • Re: Close Price Currency Converter

    11-03-2009, 4:36 PM
    • Member
      188 point Member
    • binli0114
    • Member since 09-26-2006, 12:31 AM
    • Sydney
    • Posts 48

    Hi

    I am not webService expert, but i am currently working on a Financial project.

    The close conversion rate should be the rates at 17:00 New York time.

    If i can't find any existing webservice which could provide close rates, i would store the rates to database by myself everydate 17:00 New York time.


    ------------------------------------------------------------
    I LOVE THIS GAME
  • Re: Close Price Currency Converter

    11-04-2009, 3:23 AM

    I am not sure..but try this

    http://www.webservicex.net/CurrencyConvertor.asmx

    Please mark this post as Answer if it is of help to you!

    " Every wall is a door..! "
  • Re: Close Price Currency Converter

    11-04-2009, 3:51 PM
    • All-Star
      16,876 point All-Star
    • mendhak
    • Member since 05-28-2004, 6:58 PM
    • 51.507991,-0.127784
    • Posts 2,673

    Run a scheduled task that queries that web service daily, for the rates you need.  Store it in your own database.  When you need the previous rates, query your database instead.  This can also help by reducing the number of calls being made to the currency converter service, I'm sure there are thousands of other developers also hitting it :D

    Not interested in your tweets since 1981.
  • Re: Close Price Currency Converter

    11-07-2009, 3:30 PM
    • Member
      1 point Member
    • maryamsh
    • Member since 03-03-2008, 6:27 PM
    • Posts 40

    Thanks for all your reply.

    How can i create a task by using c# in asp.net that queries a web service daily?


    Thanks in advance

  • Re: Close Price Currency Converter

    11-26-2009, 5:29 AM
    • All-Star
      16,876 point All-Star
    • mendhak
    • Member since 05-28-2004, 6:58 PM
    • 51.507991,-0.127784
    • Posts 2,673

    Sorry about the late reply, I've been in a tiny town in the middle of nowhere.

    So you don't have to create the scheduled task using ASP.NET.  All you need to do is create a console application.  The code of the console app should simply be - call the service, get rates, call database, store rates. 

    You then manually create a scheduled task wherever it's going to be hosted and in the scheduled task wizard you point it to the console app EXE that you've created.  Is that making sense?

    Not interested in your tweets since 1981.
Page 1 of 1 (6 items)