def invert_pairs(trading_pairs: list) -> list:
    """
    swap quote w/ base
    :param list(trading_pairs): ["AAA-BBB", "BBB-CCC", "DDD-AAA"]
    :return list(trading_pairs): ["BBB-AAA", "CCC-BBB", "AAA-DDD"]
    """
    return [f"{i.split('-')[1]}-{i.split('-')[0]}" for i in trading_pairs]