import json


def load_json_portfolio(path: str = "portfolio.json") -> dict:
    """
    Load the the json data as a dict.
    :param path: path of the json
    :return: the dict containing the portfolio
    """

    with open("portfolio.json", "r") as f:
        return json.loads(f.read())