INNER CODE UNIT · Python

untouched

paperswithbacktest/pwb-toolbox · pwb_toolbox/datasets/__init__.py:996

    untouched = set(symbols) - set(mapping)
    frames.append(df_etfs[df_etfs["symbol"].isin(untouched)])

    return (
        pd.concat(frames, ignore_index=True)
        .sort_values(["date", "symbol"])
        .reset_index(drop=True)
    )


ALLOWED_FIELDS = {"open", "high", "low", "close", "volume"}


def get_pricing(
    symbol_list,
    fields=None,  # ← default set below
    start_date="1980-01-01",
    end_date=date.today().isoformat(),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…