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

get_fno_lot_sizes method returning list of stocks instead of indexes and its lot sizes #126

Open
bprasad2960 opened this issue Jul 14, 2021 · 0 comments

Comments

@bprasad2960
Copy link

index list issue

from nsetools import Nse
from pprint import pprint

def main():
var_nse = Nse()
print(var_nse)
q = var_nse.get_stock_codes

indx_lot_siz = var_nse.get_fno_lot_sizes()
print(type(indx_lot_siz))
for i in indx_lot_siz:
    print(indx_lot_siz[i]) #index names

if name == "main":
main()

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

No branches or pull requests

1 participant