def load() -> DataFrame:
    """
    Load the VIX Index data used in the examples

    Returns
    -------
    data : DataFrame
        Data set containing historical VIX
    """
    return load_file(__file__, "vix.csv.gz")
Exemple #2
0
def load():
    """
    Load the graduate school admissions dataused in the examples

    Returns
    -------
    data : DataFrame
        Dataset containing GRE, GPA and class rank, and admission decision
    """
    return load_file(__file__, 'binary.csv.gz')
Exemple #3
0
def load():
    """
    Load the S&P 500 data used in the examples

    Returns
    -------
    data : DataFrame
        Data set containing OHLC, adjusted close and the trading volume.
    """
    return load_file(__file__, 'sp500.csv.gz')
def load() -> DataFrame:
    """
    Load the S&P 500 data used in the examples

    Returns
    -------
    data : DataFrame
        Data set containing OHLC, adjusted close and the trading volume.
    """
    return load_file(__file__, "sp500.csv.gz")
Exemple #5
0
def load():
    """
    Load the VIX Index data used in the examples

    Returns
    -------
    data : DataFrame
        Data set containing historical VIX
    """
    return load_file(__file__, 'vix.csv.gz')
Exemple #6
0
def load():
    """
    Load the NASDAQ Composite data used in the examples

    Returns
    -------
    data : DataFrame
        Data set containing OHLC, adjusted close and the trading volume.
    """
    return load_file(__file__, 'nasdaq.csv.gz')
Exemple #7
0
def load():
    """
    Load the AAA and BAA rates used in the examples

    Returns
    -------
    data : DataFrame
        Data set containing the rates on AAA and BAA rated bonds.
    """
    return load_file(__file__, 'default.csv.gz')
Exemple #8
0
def load() -> DataFrame:
    """
    Load the Core CPI data used in the examples

    Returns
    -------
    data : DataFrame
        Data set containing the CPI less Food and Energy

    Notes
    -----
    From the FRED database
    """
    return load_file(__file__, "crude.csv.gz")
Exemple #9
0
def load() -> DataFrame:
    """
    Load the West Texas Intermediate crude oil price data used in the examples

    Returns
    -------
    data : DataFrame
        Data set containing the price of WTI

    Notes
    -----
    From the FRED database
    """
    return load_file(__file__, "wti.csv.gz")
Exemple #10
0
def load():
    """
    Load the Fama-French factor data used in the examples

    Returns
    -------
    data : DataFrame
        Data set containing excess market, size and value factors and the
        risk-free rate

    Notes
    -----
    Provided by Ken French,
    http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/data_library.html
    """
    return load_file(__file__, 'frenchdata.csv.gz')