
var bitcoin_deposits = {% raw json_encode(args.get('bitcoin_deposits')) %};

var start_timestamp = {% raw json_encode(args.get('start_timestamp')) %};
var end_timestamp = {% raw json_encode(args.get('end_timestamp')) %};

var usd_plot_data = [ 
  {% for exchange_name, balance_series in args['usd_balances_series'].items() %}
    {
      data: {% raw json_encode(balance_series) %},
      label: '{{ exchange_name.capitalize() }} USD',
      color: exchange_colours['{{ exchange_name.lower() }}'],
    },
  {% e