Skip to content

get_stock_info function does not work with the given example #1

@ashwathalvak

Description

@ashwathalvak

File "*****.py", line 18, in
stock_info = api.get_stock_info(url_stock,save_as_json=True) #To extract the stock information
File "/Users/aalva/Library/Python/3.8/lib/python/site-packages/moneycontrolPy/mcp.py", line 673, in get_stock_info
perc = [float(re.findall(r"\d+.\d", i)[0]) for i in temp]
File "/Users/aalva/Library/Python/3.8/lib/python/site-packages/moneycontrolPy/mcp.py", line 673, in
perc = [float(re.findall(r"\d+.\d", i)[0]) for i in temp]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions