Converter: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Sgornick (talk | contribs)
→‎See Also: Add entry for web widget.
Sgornick (talk | contribs)
Describe how the script works.
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.


==See Also==
==See Also==

Revision as of 06:01, 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 with the new rate.

See Also

External Links