4
$\begingroup$

I am implementing a program in Java that needs the Bank of England base rate. Rather than the user inputting this into the system, I have heard that there is a way to get a live feed of the base rate directly from (I am guessing) the Bank of England (i.e. gets automatically updated). Has anyone heard of or used something similar? - any advice would be helpful.

Thanks.

$\endgroup$
2
$\begingroup$

I'm not sure if this is what you're looking for, but they keep it updated on their homepage.

http://www.bankofengland.co.uk/

The Current Bank Rate is shown in the top of the box in the bottom right corner!

$\endgroup$
  • 1
    $\begingroup$ Thanks for getting back. However, I am looking for a way to link the base rate into my program so it automatically changes with a rate change (rather than having to manually change it every time) - I have been told that there is a way but haven't heard from anyone who has used it. $\endgroup$ – pd123 Mar 17 '11 at 1:44
  • $\begingroup$ Ah okay. Sorry it wasn't what you were looking for! Good luck in your search! $\endgroup$ – BKaylor Mar 17 '11 at 3:44
  • 2
    $\begingroup$ There is an interactive database at bankofengland.co.uk/mfsd/iadb/NewInterMed.asp?Travel=NIxIRxSUx Maybe you could generate a script to download from that database automagically. $\endgroup$ – Owe Jessen Mar 17 '11 at 9:58
2
$\begingroup$

As suggested by Owe, you could use the Statistics part of the BoE website. It's not like the rate is changing every second, so you don't really need a live feed, I suppose.

You could update it on every start - for example using the Interest and Exchange Rates tables. Just generate the format you like, and download/import it to your program. For instance, here's a direct link to daily data in CSV. Parsing it shouldn't be much of a problem.

$\endgroup$
  • $\begingroup$ Unfortunately, the link provided to daily data in CSV by Karol is no longer valid. This is of course the problem with relying on a third party data source / parsing web pages / etc. when there is no published commitment from the author (BofE in this case) to maintain the data in that format into the future. The data cannot easily be linked to as it is client-side generated in jQuery. See: bankofengland.co.uk/boeapps/database/Bank-Rate.asp $\endgroup$ – Chris Dec 18 '17 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.