Black Lotus Project creates Magic: The Gathering card price graphs from the Magic Online Trading League's latest non-foil physical magic card list. New prices are loaded every morning around 8:30am CST, which means the graphs are always fresh and up-to-date.

Today's Popular Cards Vigor Misty Rainforest Arid Mesa Scalding Tarn Marsh Flats Verdant Catacombs Lotus Cobra Baneslayer Angel Bloodghast Goblin Guide Day of Judgment Sorin Markov

Latest, Breakingest News

Internationalizing the Price Ticker

Thu 11 February 2010

The price ticker has been a big hit since it debuted on Quiet Speculation nearly nine months ago. It has slowly gained features as other Magic bloggers have found the ticker and wanted to customize it for their sites. Last week a player from the European Union asked about getting the prices in Euros, and I thought that was a great idea.

$ £ € ¥

If the currency is set on the ticker, Black Lotus Project fetches the current exchange rate for that currency from Google/Citibank and converts all of the values before sending them to you. If the currency has a unique and commonly used symbol, the JavaScript will display it instead of the three-letter code.

Preview:

Loading...

Code:

<div id="ticker_currency">Loading...</div>
<script type="text/javascript"
    src="http://media.blacklotusproject.com/cards_media/script/jsapi.min.js"></script>
<script type="text/javascript">
    var ticker = new blproject.PriceTicker();
    ticker.currency="GBP";
    ticker.continuous = true;
    ticker.draw('ticker_currency');
</script>

New Ticker Options:

currency
Three-letter currency code to which all values should be converted

2 comments

See more breaking news