Bitcoin Forum
April 24, 2024, 11:36:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BTC/Silver exchange rate script  (Read 3001 times)
Longmarch (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 100



View Profile
May 09, 2011, 07:36:54 AM
Last edit: May 09, 2011, 07:49:25 AM by Longmarch
 #1

Okay, I worked out a source for a more-or-less live silver spot price.  Which means I was able to finish my Perl script for getting the BTC/Ag ratio with the press of a button.

Right now the script is posting data to https://twitter.com/HollowTreexds  every 20 minutes.  The formatting might be a little rough, though.


I can output this data in all kinds of ways, comma delimited, whatever.  If anyone has any use for it, let me know.

I aim to have this thing plotting a graph at some point.  Time will tell.


In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714001778
Hero Member
*
Offline Offline

Posts: 1714001778

View Profile Personal Message (Offline)

Ignore
1714001778
Reply with quote  #2

1714001778
Report to moderator
1714001778
Hero Member
*
Offline Offline

Posts: 1714001778

View Profile Personal Message (Offline)

Ignore
1714001778
Reply with quote  #2

1714001778
Report to moderator
1714001778
Hero Member
*
Offline Offline

Posts: 1714001778

View Profile Personal Message (Offline)

Ignore
1714001778
Reply with quote  #2

1714001778
Report to moderator
Current-C
Full Member
***
Offline Offline

Activity: 124
Merit: 100



View Profile
May 09, 2011, 12:12:21 PM
 #2

This is awesome.  Unfortunately I'm hopelessly non-technical so I'd have no idea how to integrate this into an application -- I'm hoping you or others will take up this challenge though.  A graph would be wonderful by the way. 

If you're interested pm me with a physical address and I'll be happy to send you a couple free bitcoin stickers for your work.  Thanks again -- it's people like you who donate their time and talents that make me confident bitcoins will be here for the long run.
benjamindees
Legendary
*
Offline Offline

Activity: 1330
Merit: 1000


View Profile
May 09, 2011, 01:17:03 PM
 #3

I think there's really no need for 14-digit precision.

http://en.wikipedia.org/wiki/Significant_figures

Civil Liberty Through Complex Mathematics
Longmarch (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 100



View Profile
May 09, 2011, 04:34:15 PM
 #4

I think there's really no need for 14-digit precision.

http://en.wikipedia.org/wiki/Significant_figures

Fixed it.  Rounding to 4th place now.  Formatting still isn't optimal, though.

Also, I forgot to mention that I had the idea of moving this output to its own Twitter page.  If there's enough interest I can do that in the coming weeks. 

Longmarch (OP)
Full Member
***
Offline Offline

Activity: 131
Merit: 100



View Profile
May 09, 2011, 04:38:26 PM
 #5

This is awesome.  Unfortunately I'm hopelessly non-technical so I'd have no idea how to integrate this into an application -- I'm hoping you or others will take up this challenge though.  A graph would be wonderful by the way. 

If you're interested pm me with a physical address and I'll be happy to send you a couple free bitcoin stickers for your work.  Thanks again -- it's people like you who donate their time and talents that make me confident bitcoins will be here for the long run.

Thank you.  This is a good project for me to improve my Perl & PHP skills so there'll be more to come. 

I PMd you, but forgot to click "save to outbox" so I have no evidence that I didn't hallucinate the whole message...  Undecided

Pages: [1]
  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!