Difference between revisions of "Converter"

From Bitcoin Wiki
Jump to: navigation, search
(Describe how the script works.)
m (Clarify.)
Line 1: Line 1:
 
A script that converts USD prices to BTC dynamically, based on a weighted average of the recent Mt.Gox trades. The weighted average is updated every 5 minutes.
 
A script that converts USD prices to BTC dynamically, based on a weighted average of the recent Mt.Gox trades. The weighted average is updated every 5 minutes.
  
The way this works is the script, hosted on the sanescreen.org server, references a separate javascript file which holds the the exchange rate hard-coded as a variable assignment.  The separate javascript file is what gets updated with the new rate.
+
The way this works is the script, hosted on the sanescreen.org server, references a separate javascript file which holds the the exchange rate hard-coded as a variable assignment.  The separate javascript file is what gets updated frequently to reflect the current rate.
  
 
==See Also==
 
==See Also==

Revision as of 06:37, 23 April 2011

A script that converts USD prices to BTC dynamically, based on a weighted average of the recent Mt.Gox trades. The weighted average is updated every 5 minutes.

The way this works is the script, hosted on the sanescreen.org server, references a separate javascript file which holds the the exchange rate hard-coded as a variable assignment. The separate javascript file is what gets updated frequently to reflect the current rate.

See Also

External Links