@staticmethod
def get_battle_economy(data: list, account_id: str, file_id: int,
    replay_date: str) ->list:
    """
        Extracts the economy data from the battle replay
        """
    raw_data = data[0]['personal']
    battle_id = list(raw_data.keys())[0]
    battle_data = raw_data[battle_id]
    battle_economy = [{'replay_date': replay_date, 'file_id': file_id,
        'account_id': account_id, 'credits_to_draw': battle_data.get(
        'creditsToDraw', None), 'original_prem_squad_credits': battle_data.
        get('originalPremSquadCredits', None), 'credits_contribution_in':
        battle_data.get('creditsContributionIn', None), 'event_credits':
        battle_data.get('eventCredits', None), 'piggy_bank': battle_data.
        get('originalPremSquadCredits', None), 'premium_credits_factor_100':
        battle_data.get('premiumCreditsFactor100', None),
        'original_credits_contribution_in': battle_data.get(
        'originalCreditsContributionIn', None), 'original_credits_penalty':
        battle_data.get('originalPremSquadCredits', None), 'original_gold':
        battle_data.get('originalGold', None), 'booster_credits':
        battle_data.get('boosterCredits', None), 'referral_20_credits':
        battle_data.get('referral20Credits', None), 'subtotal_event_coin':
        battle_data.get('subtotalEventCoin', None),
        'booster_credits_factor_100': battle_data.get(
        'boosterCreditsFactor100', None), 'credits_contribution_out':
        battle_data.get('creditsContributionOut', None),
        'premium_plus_credits_factor_100': battle_data.get(
        'premiumPlusCreditsFactor100', None), 'credits': battle_data.get(
        'originalPremSquadCredits', None), 'gold_replay': battle_data.get(
        'goldReplay', None), 'credits_penalty': battle_data.get(
        'creditsPenalty', None), 'repair': battle_data.get('repair', None),
        'original_credits': battle_data.get('originalCredits', None),
        'order_credits': battle_data.get('orderCredits', None),
        'order_credits_factor_100': battle_data.get('orderCreditsFactor100',
        None), 'original_crystal': battle_data.get('originalCrystal', None),
        'applied_premium_credits_factor_100': battle_data.get(
        'appliedPremiumCreditsFactor100', None), 'prem_squad_credits':
        battle_data.get('premSquadCredits', None), 'event_gold':
        battle_data.get('eventGold', None), 'gold': battle_data.get('gold',
        None), 'original_credits_contribution_in_squad': battle_data.get(
        'originalCreditsContributionInSquad', None), 'original_event_coin':
        battle_data.get('originalEventCoin', None), 'factual_credits':
        battle_data.get('factualCredits', None), 'event_coin': battle_data.
        get('eventCoin', None), 'crystal': battle_data.get('crystal', None),
        'crystal_replay': battle_data.get('crystalReplay', None),
        'original_credits_to_draw_squad': battle_data.get(
        'originalCreditsToDrawSquad', None), 'subtotal_credits':
        battle_data.get('subtotalCredits', None), 'credits_replay':
        battle_data.get('creditsReplay', None), 'event_event_coin':
        battle_data.get('eventEventCoin', None), 'subtotal_crystal':
        battle_data.get('subtotalCrystal', None), 'achievement_credits':
        battle_data.get('achievementCredits', None), 'subtotal_gold':
        battle_data.get('subtotalGold', None), 'event_crystal': battle_data
        .get('eventCrystal', None), 'event_coin_replay': battle_data.get(
        'eventCoinReplay', None), 'auto_repair_cost': battle_data.get(
        'autoRepairCost', None), 'original_credits_penalty_squad':
        battle_data.get('originalCreditsPenaltySquad', None)}]
    return battle_economy
