def METHOD_NAME(keyname):
    first_split = keyname.split("/")
    if len(first_split) == 1:
        frequency = MIXED_FREQ
        contract_str = keyname
    else:
        frequency = Frequency[first_split[0]]
        contract_str = first_split[1]
    contract_str_split = contract_str.split(".")
    futures_contract = futuresContract(contract_str_split[0], contract_str_split[1])
    return frequency, futures_contract