Difference between revisions of "Template:Market info"

From CloakCoin Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#get_web_data:
 
{{#get_web_data:
url=https://api.coingecko.com/api/v3/simple/price?ids=cloakcoin&vs_currencies=BTC&include_last_updated_at=true
+
url=https://api.coingecko.com/api/v3/simple/price?ids=cloakcoin&vs_currencies=btc%2Cusd%2Ceur%2Ccny&include_last_updated_at=true
 
|format=json
 
|format=json
|data=id=id,name=name,symbol=symbol,rank=rank,price_usd=price_usd,price_btc=price_btc,24h_volume_usd=24h_volume_usd,market_cap_usd=market_cap_usd,available_supply=available_supply,total_supply=total_supply,percent_change_1h=percent_change_1h,percent_change_24h=percent_change_24h,percent_change_7d=percent_change_7d,last_updated=include_last_updated_at
+
|data=id=ids,name=name,symbol=symbol,rank=rank,price_usd=usd,price_btc=btc,price_eur=eur,price_cny=cny,24h_volume_usd=24h_volume_usd,market_cap_usd=market_cap_usd,available_supply=available_supply,total_supply=total_supply,percent_change_1h=percent_change_1h,percent_change_24h=percent_change_24h,percent_change_7d=percent_change_7d,last_updated=last_updated_at
 
|cache seconds=400
 
|cache seconds=400
 
}}
 
}}
 
{| class="wikitable" style="margin-left: auto; margin-right: auto; border: none;"
 
{| class="wikitable" style="margin-left: auto; margin-right: auto; border: none;"
!colspan="2"|CloakCoin Statistics
+
!colspan="2"|CloakCoin Prices - Powered by CoinGecko API
|-
 
|Symbol
 
|{{#external_value:last_updated}}
 
|-
 
|Price USD
 
|{{#external_value:price_usd}}$
 
 
|-
 
|-
 
|Price BTC
 
|Price BTC
 
|{{#external_value:price_btc}}
 
|{{#external_value:price_btc}}
 
|-
 
|-
|24h Volume
+
|Price USD
|{{#external_value:24h_volume_usd}}$
+
|{{#external_value:price_usd}}
|-
 
|Market Cap
 
|{{#external_value:market_cap_usd}}$
 
 
|-
 
|-
|Total Supply
+
|Price EUR
|{{#external_value:available_supply}}
+
|{{#external_value:price_eur}}
 
|-
 
|-
|24h Change
+
|Price CNY
| {{#external_value:percent_change_24h}}%
+
|{{#external_value:price_cny}}
 
|}
 
|}

Latest revision as of 22:28, 7 August 2020

CloakCoin Prices - Powered by CoinGecko API
Price BTC 1.47E-6
Price USD 0.104207
Price EUR 0.096403
Price CNY 0.753219