from typing import List
from typing import Dict


def get_equal_weights(stocks: List[str], value: float = 1.0) -> Dict:
    """Equally weighted portfolio, where weight = 1/# of stocks

    Parameters
    ----------
    stocks: List[str]
        List of tickers to be included in optimization
    value : float
        Amount of money to allocate instead of percentage

    Returns
    -------
    dict
        Dictionary of weights where keys are the tickers
    """
    return {stock: value * round(1 / len(stocks), 5) for stock in stocks}