Bitcoin Forum

Other => MultiBit => Topic started by: jim618 on February 25, 2013, 05:41:45 PM



Title: OpenExchangeRates.org exchange rate support
Post by: jim618 on February 25, 2013, 05:41:45 PM
Normally I don't telegraph work in progress, but I thought I would give you a 'teaser' for which exchange rates will be available when the OpenExchangeRates.org data gets integrated into MultiBit.

Here is a composite of which currencies there will be in the Preferences combo box:

https://multibit.org/postImages/teaser.png

(TBH There is a fair bit to do on this and the encryption work takes priority but I thought it would be fun to post!). Now working in test code. Now on the multibit.org website.


Title: Re: Teaser for OpenExchangeRates.org exchange rate support
Post by: timmolter on February 25, 2013, 07:18:03 PM
That's insane!


Title: Re: Teaser for OpenExchangeRates.org exchange rate support
Post by: garyrowe on February 25, 2013, 08:50:17 PM
And one currency to rule them all...


Title: Re: OpenExchangeRates.org exchange rate support
Post by: jim618 on February 26, 2013, 09:23:59 PM
Tim Molter (who does the XChange library) and I have got the OpenExchangeRates.org exchange rates support working.
This is just in the test code at the moment.

As an anti-spam measure, OpenExchangeRates.org requires people to sign up to a free account.
To accomodate this, the MultiBit user signs up as follows:

1) Initially they choose to use OpenExchangeRates as one of their exchanges in Preferences:

https://multibit.org/postImages/OpenExchangeRates1.png

There is a little reminder in green text to sign up.

2) They press the "Get App ID" button which opens their browser to the page:
https://openexchangerates.org/signup/free?r=multibit (https://openexchangerates.org/signup/free?r=multibit)

3) There they sign up for a free OpenExchangeRates.org account. When they do, they are given an "App ID" which is a 32 character identifier. They then cut-and-paste it into the field labeled  "OpenExchangeRates App ID" as below:


https://multibit.org/postImages/OpenExchangeRates2.png

You only have to do this once as it gets stored in your user preferences.
You can then choose any of the 150+ rates shown in the top post.



Title: Re: OpenExchangeRates.org exchange rate support
Post by: Atruk on February 27, 2013, 08:24:30 AM

2) They press the "Get App ID" button which opens their browser to the page:
https://openexchangerates.org/signup/free (https://openexchangerates.org/signup/free)

Maybe I'm doing something wrong, but this step seems optional right now.


Title: Re: OpenExchangeRates.org exchange rate support
Post by: jim618 on February 27, 2013, 09:07:11 AM
That text field and button are only visible if you have one of the exchanges set to OpenExchangeRates.
Otherwise the fields are not shown. I presume you have checked the code out of github as it is not in the installers yet.

I have noticed the OpenExchangeRates will sometimes send you back the list of available currencies without you having signed up. In their terms and conditions they require you to sign up though to use their system hence the extra step.


Title: Re: OpenExchangeRates.org exchange rate support
Post by: jim618 on March 08, 2013, 12:59:23 PM
I have integrated the OpenExchangeRate.org work into the live MultiBit code (in preparation to release it).

Here is a transfer of 1000 Chilean peso's (CLP) worth of bitcoin between a couple of my wallets:

https://multibit.org/postImages/chileanPeso.png


(In Spanish the decimal separator is "," and the thousand separator is ".").

The next release I plan to get out on Monday and has upgrades to the latest versions of bitcoinj, XChart and XChange.

edit: Now available on multibit.org.