Bitcoin Forum
December 02, 2016, 10:22:01 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: Bounty for web based currency converter.  (Read 7267 times)
Anonymous
Guest

November 06, 2010, 01:17:26 PM
 #1

I am pledging 50btc for someone to build a universal bitcoin currency converter that can be added to a website.

ie http://au.finance.yahoo.com/currencies/converter/

Bitcoins > Any Currency
Any Currency>Bitcoins






1480717321
Hero Member
*
Offline Offline

Posts: 1480717321

View Profile Personal Message (Offline)

Ignore
1480717321
Reply with quote  #2

1480717321
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
wumpus
Hero Member
*****
Offline Offline

Activity: 798

No Maps for These Territories


View Profile
November 18, 2010, 09:23:59 PM
 #2

I am pledging 50btc for someone to build a universal bitcoin currency converter that can be added to a website.

ie http://au.finance.yahoo.com/currencies/converter/

Bitcoins > Any Currency
Any Currency>Bitcoins
How would this work? As far as I know, bitcoin only has an exchange rate available with Rubles and USD. You'd want the other currencies simply computed from that?


Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
Anonymous
Guest

November 19, 2010, 05:01:17 AM
 #3

I am pledging 50btc for someone to build a universal bitcoin currency converter that can be added to a website.

ie http://au.finance.yahoo.com/currencies/converter/

Bitcoins > Any Currency
Any Currency>Bitcoins
How would this work? As far as I know, bitcoin only has an exchange rate available with Rubles and USD. You'd want the other currencies simply computed from that?




Wouldnt it just be a matter of computing the other currencies against the US dollar and converting that to bitcoin value?
wumpus
Hero Member
*****
Offline Offline

Activity: 798

No Maps for These Territories


View Profile
November 19, 2010, 07:30:42 AM
 #4

From what I know of currency trading, if you have currency A,B and C, the rate "A to C" doesn't necessarily have to be equal to "A to B" times "B to C".

Of course, if it is not, this presents arbitration opportunities so generally, in a liquid market, they will converge to very close to each other. But the bitcoin market is not as liquid as your average currency.

So if you just want a nice applet for on your site, computing it that way is fine. If you want to use the numbers for doing (automatic) business, I would be more careful Smiley Just put a disclaimer...

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
Anonymous
Guest

November 19, 2010, 10:59:23 AM
 #5

From what I know of currency trading, if you have currency A,B and C, the rate "A to C" doesn't necessarily have to be equal to "A to B" times "B to C".

Of course, if it is not, this presents arbitration opportunities so generally, in a liquid market, they will converge to very close to each other. But the bitcoin market is not as liquid as your average currency.

So if you just want a nice applet for on your site, computing it that way is fine. If you want to use the numbers for doing (automatic) business, I would be more careful Smiley Just put a disclaimer...

I was looking for something anyone could use. For instance a google blogger widget . It would also be listed in the widget gallery for more bitcoin exposure.

http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=53219
fabianhjr
Sr. Member
****
Offline Offline

Activity: 322


Do The Evolution


View Profile
January 04, 2011, 04:39:21 PM
 #6

This is for a site to know the exchange rate or to only display it? I mean, you could use MtGox's ticker and use the google magic to get the exchange of USDs to whatever.

Anonymous
Guest

January 05, 2011, 01:02:30 PM
 #7

http://www.xe.com/

Basically the universal currency converter on the front page of xe.com


Anonymous
Guest

January 05, 2011, 01:03:44 PM
 #8

http://www.xe.com/

Basically the universal currency converter on the front page of xe.com

That could also be done with yahoo.

Sawzall
Full Member
***
Offline Offline

Activity: 140



View Profile
January 05, 2011, 02:37:43 PM
 #9

I was looking for something anyone could use. For instance a google blogger widget . It would also be listed in the widget gallery for more bitcoin exposure.

http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=53219


Please indicate if you'd be happy relying on a root BTC-USD reference exchange rate (p.ex. the bitcioin 4 cash) + a calculated approximately exchange rate to other currency based on another service (yahoo, google, whatever site with an api)

witchspace's comment is right that a simple calculation might not be the real exchange rate, but an usefull indicator it might be.
i haven't done any programming in a few years but this looks feasible.

Because Bitcoins would have to be exchanged for dollars, and then those dollars for some other currency, using a BTC-USD rate and then calculating from there makes sense.
Anonymous
Guest

January 06, 2011, 02:00:55 AM
 #10

I was looking for something anyone could use. For instance a google blogger widget . It would also be listed in the widget gallery for more bitcoin exposure.

http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=53219


Please indicate if you'd be happy relying on a root BTC-USD reference exchange rate (p.ex. the bitcioin 4 cash) + a calculated approximately exchange rate to other currency based on another service (yahoo, google, whatever site with an api)

witchspace's comment is right that a simple calculation might not be the real exchange rate, but an usefull indicator it might be.
i haven't done any programming in a few years but this looks feasible.


That is how I currently do things Smiley



Anonymous
Guest

January 07, 2011, 12:17:34 AM
 #11

Hi,

I've set up something I think would fit what you're looking for: http://bitcoin.1t2l.net/widget/

Data is cached every five minutes and the BTC price used is the buy price at MtGox (great API).

Feel free to Iframe/hotlink it wherever you want, I can spare the bandwidth!  Or if you want just copy it from source, I store the data in JSON format at http://bitcoin.1t2l.net/widget/data.txt.

Let me know what you think and if you'd like any tweaks or improvements.

My Bitcoin address is: 1GVGcHEMNbUQocYShKKUmUC2yeT5e9fM5A

-BTCbh

This is very nice. Where do you get the currency data from?
BTCbh
Newbie
*
Offline Offline

Activity: 2


View Profile
January 07, 2011, 01:22:13 AM
 #12

This is very nice. Where do you get the currency data from?

Thanks.  The currency data is obtained from a non-public API of a broker I have an account with.  The figures should be within 0.5% of actual market prices.
ColdHardMetal
Hero Member
*****
Offline Offline

Activity: 701



View Profile
January 07, 2011, 01:44:24 AM
 #13

Can you add KRW - South Korean Won? Maybe not if it's a broker feed since you can't trade KRW anywhere Sad

BTCbh
Newbie
*
Offline Offline

Activity: 2


View Profile
January 07, 2011, 01:55:49 AM
 #14

Can you add KRW - South Korean Won? Maybe not if it's a broker feed since you can't trade KRW anywhere Sad

I've included every currency my broker's API offers.  If you know of a public API with KRW let me know and I'll see if I can integrate it for you.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 1988



View Profile
January 07, 2011, 02:28:47 AM
 #15

The swap to convert FROM BTC to another currency only occurs after page load.  Would it be possible for this to be the default, based on a URL parameter
  e.g.,
     ?from=BTC
or something to that effect?

BTW, awesome job!

Anonymous
Guest

January 07, 2011, 02:43:17 AM
 #16

50btc sent.

Thanks for your work.

I created an iframe and added it to http://bitcointo.com


Code:
<iframe src="http://bitcoin.1t2l.net/widget/#" name="cc" scrolling="no" frameborder="no" align="center" height = "280px" width = "290px">If you can see this, your browser doesn't
understand IFRAME.  However, we'll still
<a href="http://bitcoin.1t2l.net/widget/#">link</a>
you to the file.
</iframe>

Add that to the page if you like so people can copy and paste the code  Smiley



Stephen Gornick
Legendary
*
Offline Offline

Activity: 1988



View Profile
January 11, 2011, 05:46:56 AM
 #17

I've implemented your idea, thanks!

You rock!

Two additional requests, if I may:
1.)
  Allow pre-selection of the currency that counters the BTC:

  e.g., if I wish to add the widget to my site whose primary readership is in Canada, I might wish to do:
  http://bitcoin.1t2l.net/widget/?from=CAD    (for CAD to BTC)

  and the reverse:
  http://bitcoin.1t2l.net/widget/?from=BTC&to=CAD

2.) Display the currency symbol:

e.g, The British Pound's is GBP
There appears to be room to also display the currency symbol after the amount.

e.g,.
  50 (bitcoins) =
  10.45 GBP

ThomasV
Legendary
*
Offline Offline

Activity: 1722



View Profile WWW
January 22, 2011, 08:38:10 PM
 #18

I've come up with a very different solution :
A fully automated script that converts USD prices into BTC, based on the exchange rate at mtgox :

http://sanescreen.org/converter/

This is for sellers who do not want to / cannot use php

Note : My server is needed in order to fetch the JSON object returned by mtgox (getTrades.php).
It would be possible to bypass my server if mtgox was kind enough to provide a short javascript with a callback function.


Electrum: the convenience of a web wallet, without the risks
Stephen Gornick
Legendary
*
Offline Offline

Activity: 1988



View Profile
February 25, 2011, 07:50:16 PM
 #19

Two additional requests, if I may:
1.)
  Allow pre-selection of the currency that counters the BTC:
2.) Display the currency symbol:
e.g,.
  50 (bitcoins) =
  10.45 GBP

A third request, ... to accept in the URL the actual amount to convert.

e.g.,
  To convert 1.23 BTC into the equivalent CAD:
  http://bitcoin.1t2l.net/widget/?from=BTC&to=CAD&amount=1.23

HostFat
Staff
Legendary
*
Offline Offline

Activity: 2282


I support freedom of choice


View Profile WWW
April 06, 2011, 03:30:47 PM
 #20

I've come up with a very different solution :
A fully automated script that converts USD prices into BTC, based on the exchange rate at mtgox :

http://sanescreen.org/converter/

This is for sellers who do not want to / cannot use php

Note : My server is needed in order to fetch the JSON object returned by mtgox (getTrades.php).
It would be possible to bypass my server if mtgox was kind enough to provide a short javascript with a callback function.


Is there a way so you can make dynamic pictures?
I mean, it will be cool to put dynamic prices also on forums like this one.
So people will use something like this:
Code:
[IMG="http://sanescreen.org/converter/img.php?50.usd.jpg"][/IMG]
[IMG="http://sanescreen.org/converter/img.php?57.3.usd.jpg"][/IMG]

The little picture will show the price in BTC Smiley

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!