def price_insert_filter(price_dict):
    """
        Price has a set of requirements:
            - period -> [minute, hour, day]
            - exchange
            - open
            - close
            - high
            - low
            - volumefrom
            - volumeto
        Ensure that we have all of them for inserts. Will
    """
    if not isinstance(price_dict, dict):
        raise TypeError('dict_list is not a list. Please try again')
    required = ['period', 'exchange', 'open', 'close', 'high', 'low',
        'volumefrom', 'volumeto']
    pkeys = price_dict.keys()
    for r in required:
        if r not in pkeys:
            raise KeyError('An important key is not available')
    return True
