{% extends "base.html" %} {% block title %}{{ coin.name }} ({{ coin.symbol }}){% endblock %} {% block content %}
← Back
{% set _icon = coin_icon(coin) or coin.image_url %} {% if _icon %} {{ coin.symbol }} {% endif %}

{{ coin.name }}

{{ coin.symbol }} {% if coin.market_cap_rank %} #{{ coin.market_cap_rank }} {% endif %}
{% if not in_watchlist %} {% else %} In Watchlist {% endif %} {% if is_admin %} Pipeline {% endif %}
{% if profile %} {% set is_us = coin.asset_type == 'stock_us' %} {% set ps = '$ ' if is_us else 'Rp ' %} {% set pc = 'USD' if is_us else 'IDR' %}

Harga ({{ pc }})

{% if is_us and profile.current_price_usd %} $ {{ profile.current_price_usd|float|price }} ~Rp {{ profile.current_price_idr|float|price if profile.current_price_idr else '-' }} {% else %} {{ ('Rp ' ~ (profile.current_price_idr|float|price)) if profile.current_price_idr else '-' }} {% endif %}

Perubahan 24j

{{ (profile.price_change_24h|float|spct2) if profile.price_change_24h else '-' }}

Market Cap ({{ pc }})

{% if is_us and profile.market_cap_usd %} $ {{ profile.market_cap_usd|float|abbr }} {% else %} {{ ('Rp ' ~ (profile.market_cap_idr|float|idr)) if profile.market_cap_idr else '-' }} {% endif %}

Volume 24j ({{ pc }})

{% if is_us and profile.total_volume_usd %} $ {{ profile.total_volume_usd|float|abbr }} {% else %} {{ ('Rp ' ~ (profile.total_volume_idr|float|idr)) if profile.total_volume_idr else '-' }} {% endif %}

{% if profile.fetched_at %}

Terakhir sync: {{ profile.fetched_at|wib_short }}

{% endif %} {% endif %}
{% if active_tab == 'overview' %} {% include "market/_tab_overview.html" %} {% elif active_tab == 'profile' %} {% include "market/_tab_profile.html" %} {% elif active_tab == 'analysis' %} {% include "market/_tab_analysis.html" %} {% elif active_tab == 'timeline' %} {% include "market/_tab_timeline.html" %} {% elif active_tab == 'range_trading' %} {% include "market/_tab_range_trading.html" %} {% endif %}

Sync

Sync lengkap: profile, icon, dan OHLCV data dari CoinGecko.

{% endblock %} {% block scripts %} {% if active_tab == 'overview' %} {% include "market/_tab_overview_scripts.html" %} {% elif active_tab == 'analysis' %} {% include "market/_tab_analysis_scripts.html" %} {% elif active_tab == 'timeline' %} {% include "market/_tab_timeline_scripts.html" %} {% elif active_tab == 'range_trading' %} {% include "market/_tab_range_trading_scripts.html" %} {% endif %} {% endblock %}