Skip to content

constituent_stock_list: ValueError: No such category in config: NiftyBroadMarketIndices #98

@adityaputatunda

Description

@adityaputatunda

From README:
indices.constituent_stock_list(index_category='BroadMarketIndices', index_name='Nifty 50')

ValueError: No such category in config: NiftyBroadMarketIndices

Had to install config package which for some reason did not install itself as a dependency which solved the previous error:

import config as conf 4 import pandas as pd 7 def get_class(index_category: str):ModuleNotFoundError: No module named 'config'

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