from pylim import lim

futures = {
        'FB': 'Brent',
        'CL': 'WTI',
        'DME.OQ': 'Dubai',
        'ICE.ADM': 'Murban',
        'RB.UNL': 'RBOB',
        'HO': 'HO',
        'FP': 'ULSD'
    }

crude_futures = {'FB': 'Brent', 'CL': 'WTI', 'DME.OQ': 'Dubai'}


def futures_prices(futures, curve = False, start_date=None):
    if curve:
        df = lim.curver(futures)
    else:
        df = lim.series(futures, start_date=start_date)

    return df


if __name__ == '__main__':
    print(futures_prices(crude_futures))
