def engine_from_files(daily_bar_path,
                      adjustments_path,
                      asset_db_path,
                      calendar,
                      warmup_assets=False):
    loader = USEquityPricingLoader.from_files(daily_bar_path, adjustments_path)

    if not asset_db_path.startswith("sqlite:"):
        asset_db_path = "sqlite:///" + asset_db_path
    asset_finder = AssetFinder(asset_db_path)
    if warmup_assets:
        results = asset_finder.retrieve_all(asset_finder.sids)
        print("Warmed up %d assets." % len(results))

    return SimplePipelineEngine(
        lambda _: loader,
        calendar,
        asset_finder,
    )
Construct a SimplePipelineEngine from local filesystem resources.
dataset/ETHPy150Open quantopian/zipline/zipline/pipeline/__init__.py/engine_from_files