def split_currency_pair(pair):
    """
    Example: 'btc_usd' -> 'btc', 'usd'
    :param pair: a string with pair of currencies
    :return: currency names
    """
    splitted = pair.split('_')
    return splitted[0], splitted[1]