looking for public dataset for stock market
You can have a look at the kaggle stock dataset.

https://www.kaggle.com/borismarjanovic/price-volume-data-for-all-us-stocks-etfs

This questions are normally done in OpenData stack exchange.

https://opendata.stackexchange.com/