Query editor
SELECT date_trunc('month', closed_at_date) as month_closed, type_string, IF(asset_code IS NULL, 'XLM', asset_code) as asset_code, SUM(amount) as AMOUNTFROM stellar.history_effectsWHERE address = 'GBS7UCAACI45LNMRJ6HPS7JIPDI4RBC4CXIRPXEYT6U4V7QP6MKLO7RH'AND type_string IN ('account_credited', 'account_debited')GROUP BY date_trunc('month', closed_at_date), type_string, asset_codeORDER BY date_trunc('month', closed_at_date) DESCLIMIT 100;