Difference between revisions of "Template:Market info"

From CloakCoin Wiki
Jump to: navigation, search
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 - CoinGecko Data
 
|-
 
|-
|Symbol
+
|Price BTC
|{{#external_value:last_updated}}
+
|{{#external_value:price_btc}}$
 
|-
 
|-
 
|Price USD
 
|Price USD
|{{#external_value:price_usd}}$
+
|{{#external_value:price_usd}}
|-
 
|Price BTC
 
|{{#external_value:price_btc}}
 
|-
 
|24h Volume
 
|{{#external_value:24h_volume_usd}}$
 
 
|-
 
|-
|Market Cap
+
|Price EUR
|{{#external_value:market_cap_usd}}$
+
|{{#external_value:price_eur}}$
 
|-
 
|-
|Total Supply
+
|Price CNY
|{{#external_value:available_supply}}
+
|{{#external_value:price_cny}}$
 
|-
 
|-
|24h Change
+
|Last Updated
| {{#external_value:percent_change_24h}}%
+
| {{#external_value:last_updated}}%
 
|}
 
|}

Revision as of 22:05, 7 August 2020

CloakCoin Prices - CoinGecko Data
Price BTC 8.2E-7$
Price USD 0.05206
Price EUR 0.0485431$
Price CNY 0.377227$
Last Updated 1714042730%