Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replacement for nsepy which has been deprecated #23

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

devfinwiz
Copy link
Contributor

def dataset_generator(indice):  
    history_filename=r"Dataset\Resultant Dataset\\nse_indices_pe_dataset\{}.csv".format(indice)  
    f=open(history_filename,'w',newline="")

    indice_pe = get_index_pe_history(symbol="{}".format(indice),
                                    start=datetime.datetime(2023,1,1),
                                    end=datetime.datetime(2023,2,17))
    print(indice_pe)

gives:

Index: []
Empty DataFrame
Columns: [P/E, P/B, Div Yield]

@asafravid asafravid merged commit 941f45b into asafravid:master Oct 3, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants