From BitcoinWiki
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search

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 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 on BitcoinWiki[edit]

External Links[edit]

  • Preev Simple Bitcoin Converter with live exchange rate
  • Bitcoin Converter and Information
  • imgtext PNG of 24 hour weighted price (from
  • BitsUsd Bitcoin units converter