---
title: "Comment by Rakesh on \"How to Download End-of-Day Stock Prices for the National Stock Exchange of India using Python?\" | Hashnode"
description: "Hi Yash, Thank you for writing this nice article. When I try to download the data for the below date range, code is breaking with bad zip file error., any idea"
url: "https://hashnode.com/posts/download-end-of-day-stock-prices-for-national-stock-exchange-of-india-using-python/6038f5aa1d789c61c39cd51f/comment/62f632a8fffdab933bde427b"
---

[Discussion](https://hashnode.com/posts/download-end-of-day-stock-prices-for-national-stock-exchange-of-india-using-python/6038f5aa1d789c61c39cd51f)

Comment [How to Download End-of-Day Stock Prices for the National Stock Exchange of India using Python?](https://hashnode.com/posts/download-end-of-day-stock-prices-for-national-stock-exchange-of-india-using-python/6038f5aa1d789c61c39cd51f)

[Rakesh](https://hashnode.com/@ryadav)

[Aug 12, 2022](https://hashnode.com/posts/download-end-of-day-stock-prices-for-national-stock-exchange-of-india-using-python/6038f5aa1d789c61c39cd51f/comment/62f632a8fffdab933bde427b)

Hi Yash,

Thank you for writing this nice article.

When I try to download the data for the below date range, code is breaking with bad zip file error., any idea how to fix it?

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1660301961451/-FGAZmLXC.png)

date\_range = pd.bdate\_range(start='01/03/2014', end = '12/31/2015', freq='C', holidays = holidays\_all)

[Yash Roongta](https://hashnode.com/@yash12392)

[Oct 5, 2022](https://hashnode.com/posts/download-end-of-day-stock-prices-for-national-stock-exchange-of-india-using-python/6038f5aa1d789c61c39cd51f/comment/62f632a8fffdab933bde427b#reply-633d63beb7a1dcae0588d03f)

That data is not available on NSE public servers.
