As you know my
books are getting better and better and finally after 6 years of struggle and after burning about 5 lakhs, i am becoming profitable. Though not necessary I was always looking for some means to calculate running greeks (delta, theta). I was even looking for
brokers who could facilitate. As mentioned earlier Sharekhan has it. But my account size does not allow me to change to Sharekhan now.
So I thought if could scrap the option chain from NSE website with PHP and then calculate the greeks for my open positions. after burning 2 nights of midnight oil, it seems NSE is very keen to disallow scraping their data programmatically, atleast with PHP and my limited knowledge.
Luckily for me good people at
trading tuitons had already done
it.
Well, then its only for NIFTY and I needed for Bank Nifty. So I have
modified it to fetch Bank Nifty data.
Enjoy!