{% extends "base.html" %}

{% block scripts %}
<script src='/static/js/libs/jquery.flot.js'></script>
<script src='/static/js/libs/jquery.flot.pie.js'></script>
<script type='text/javascript' src='/static/js/exchange_colours.js'></script>

<script type='text/javascript'>

var trading_fee_data = [
  {% for exchange_name, fees in args['fees_by_exchange'].items() %}
    {
      label: '{{ exchange_name }}',
      data: {{ fees.amount }},
      color: exchange_colours['{{ exchange_name.lower() }}'],
    },
  {%