Bitcoin Forum
April 25, 2024, 09:33:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [ANNOUNCE] BTCtoX - Rate Converter between BTC and other currencies  (Read 3479 times)
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 09, 2012, 03:40:07 PM
 #1

Let me present this weekend's project: BTCtoX.org.

It gives a quick calculator to convert BTC to and from other currencies.

Features:
 - Supports 159 currencies
 - You can bookmark a quick link to convert and [url=http://btctox.org/tobtc#ILS]to from your favorite currency
 - Supports mobile, sort of (the page doesn't look completely crappy on mobile, only moderately crappy)
 - API
 - Open Source

Please submit bugs and feature requests on github.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714037591
Hero Member
*
Offline Offline

Posts: 1714037591

View Profile Personal Message (Offline)

Ignore
1714037591
Reply with quote  #2

1714037591
Report to moderator
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000

Bitcoin Mayor of Las Vegas


View Profile WWW
June 09, 2012, 06:36:17 PM
 #2

Nice. Could you build in weighted prices at 24h, 7d, 30d for the API?

ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 09, 2012, 06:43:45 PM
 #3

Nice. Could you build in weighted prices at 24h, 7d, 30d for the API?

Does mtgox have this?
If so, then I could... However, it won't reflect part flirtations in the rate of the fiat currencies.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000

Bitcoin Mayor of Las Vegas


View Profile WWW
June 09, 2012, 06:55:45 PM
 #4

http://bitcoincharts.com/t/weighted_prices.json

Would this be helpful?

ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 09, 2012, 07:02:48 PM
 #5


Yeah, looks good. I will post when I have updates.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
Bitcoin Oz
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


Wat


View Profile WWW
June 10, 2012, 11:59:44 AM
 #6

Nice app ripper234  Smiley

ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 10, 2012, 12:24:34 PM
 #7

Nice app ripper234  Smiley

Thanks. It was a bit slow to load for me today, not sure it's because of my mobile internet speed or inherent slowness.
I would like to cache the results of the API calls for a few minutes ... I've noticed that Mt. Gox API is a bit slow, and returns errors sometimes. Also under consideration is a nicer design, although this is not critical.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 22, 2012, 11:26:55 AM
 #8

Nice. Could you build in weighted prices at 24h, 7d, 30d for the API?

Is this a theoretical need, or would you actually use it if I added it?

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
Tuxavant
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000

Bitcoin Mayor of Las Vegas


View Profile WWW
June 22, 2012, 12:29:39 PM
 #9

I'm always using weighted prices to help with the volatility issue, so yea, I'd use it.

Also, can you tell me what's up with VND? It displays a 0.00 in the drop down and only gives a rate when going from btc.

ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 22, 2012, 01:26:03 PM
 #10

I'm always using weighted prices to help with the volatility issue, so yea, I'd use it.

Also, can you tell me what's up with VND? It displays a 0.00 in the drop down and only gives a rate when going from btc.

Cool, I didn't know you were actually using the API yet. I see a bit of traffic on Google Analytics, but I haven't measured the API usage yet.

I'll get it done tomorrow.

Regarding VND - it works for me from VND to BTC as well, it's just the exchange rate is so low that is it's rounded off in the display.
The actual calculation should be fine though - just put high enough numbers.

(I am truncating the number of BTCs displayed, I think anything lower than 0.001 BTC is not interesting).

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 23, 2012, 11:35:16 AM
 #11

I just deployed a new version with these improvements:

1. Fixed the API documentation page, it didn't work well.
2. Added weighted average over 1,7,30 days to the API (not to the app itself ... not sure it's needed there, and the app should be redesigned in a nicer way anyway).
3. Added caching! I discovered that BitcoinCharts doesn't like it when API requests are made more than once every 15 minutes... so now I'm caching all outgoing API requests to speed up the process. BitcoinCharts data will be cached for 16 minutes, Mt. Gox and Open Exhcange will be cached for 2 minutes just to get a speed boost.

I'm particularly happy about bullet number 3, because it gave me a chance to play around with Memcached for the first time (it's a bit of an overkill for this project, but it's really simple using Play Framework & Heroku, so I wanted to give it a try ... and it was really easy to implement & deploy).

Please give it a test drive and report any issues.

Ron

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
Grouver (BtcBalance)
Hero Member
*****
Offline Offline

Activity: 530
Merit: 500



View Profile WWW
June 23, 2012, 11:38:33 AM
 #12

It strikes me how many Bitcoin services are using the Twitter Boostrap.

ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 23, 2012, 11:40:55 AM
 #13

It strikes me how many Bitcoin services are using the Twitter Boostrap.


It's not just Bitcoin services, it's becoming really popular.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
frisco2
Sr. Member
****
Offline Offline

Activity: 312
Merit: 265


View Profile
June 24, 2012, 07:49:12 PM
 #14

This is an idea, since I'm not in trading -- but if there was an API to retrieve a dump of prices in many exchanges, one could build a graph structure and try to compute a cycle of trade to make money.  For example, I know that I can buy bitcoin at the cavirtex for CAD for less than mtgox, then sell it for USD on mtgox, move the money accross the border back to canada with RBC USA free cross-border transfer, and be in net profit.  Of course there are commission fees in the exchanges, but it is a matter to have all the data quickly retrieved in one location, and running some search and optimization code on it.  Since you are querying all those exchanges anyways, maybe you can bunch up all the data into one json, and allow people to make such an application of off your api?

Crosspass -- a simple way to send passwords, encryption keys, bitcoin addresses, etc.
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 25, 2012, 05:43:39 AM
 #15

This is an idea, since I'm not in trading -- but if there was an API to retrieve a dump of prices in many exchanges, one could build a graph structure and try to compute a cycle of trade to make money.  For example, I know that I can buy bitcoin at the cavirtex for CAD for less than mtgox, then sell it for USD on mtgox, move the money accross the border back to canada with RBC USA free cross-border transfer, and be in net profit.  Of course there are commission fees in the exchanges, but it is a matter to have all the data quickly retrieved in one location, and running some search and optimization code on it.  Since you are querying all those exchanges anyways, maybe you can bunch up all the data into one json, and allow people to make such an application of off your api?

This is out of scope for BTCtoX. I'm not actually getting information about the direct BTC-X exchange rate, but rather going through an intermediary - I'm getting the BTC to USD rate, and then converting USD to all currencies - so I don't have the direct exchange rates.

Also, it's not a goal for me to create such a service.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
CecilNiosaki
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
June 26, 2012, 04:32:28 PM
 #16

Rate is super broken for BTCto SLL . It says that 1BTC is 27813.302 SLL whereas it's roughly 1740SLL on average.
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 26, 2012, 04:46:02 PM
 #17

Rate is super broken for BTCto SLL . It says that 1BTC is 27813.302 SLL whereas it's roughly 1740SLL on average.

According to Google, 1 U.S. dollar = 4 347.82609 Sierra Leonean leones
Times Mt. Gox's 6.37139 $ per BTC, the result is 27701.69 SLL per BTC.

Perhaps you are thinking of another currency?

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
CecilNiosaki
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
June 26, 2012, 06:58:42 PM
 #18

Rate is super broken for BTCto SLL . It says that 1BTC is 27813.302 SLL whereas it's roughly 1740SLL on average.

According to Google, 1 U.S. dollar = 4 347.82609 Sierra Leonean leones
Times Mt. Gox's 6.37139 $ per BTC, the result is 27701.69 SLL per BTC.

Perhaps you are thinking of another currency?

Ah, indeed. SLL is also an abbreviation for the Second Life Linden.
ripper234 (OP)
Legendary
*
Offline Offline

Activity: 1358
Merit: 1003


Ron Gross


View Profile WWW
June 26, 2012, 08:04:46 PM
 #19

Rate is super broken for BTCto SLL . It says that 1BTC is 27813.302 SLL whereas it's roughly 1740SLL on average.

According to Google, 1 U.S. dollar = 4 347.82609 Sierra Leonean leones
Times Mt. Gox's 6.37139 $ per BTC, the result is 27701.69 SLL per BTC.

Perhaps you are thinking of another currency?

Ah, indeed. SLL is also an abbreviation for the Second Life Linden.

Thought so. I should really add the full name of the currency (I don't have it in the API I'm using, I'll have to find it from another source).

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
Icoin
Hero Member
*****
Offline Offline

Activity: 585
Merit: 501



View Profile WWW
June 26, 2012, 08:57:09 PM
 #20

Thanks Ripper, great Job !!

What about adding alternative Criptocurencies like NMC, DVC, I0C, IXC ? Vircurex  https://vircurex.com has a API for that

Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!