Hi pkjha30 ,
I think there surely is an issue when we download only Indices data.I have attached a table which contains correct/incorrect values downloaded and dispalyed.Please confirm.
Thanking You,
Raju
Hi Raju
I have gone through the entire logic and could not find any problem with the data downloaded or the database records or output file.
My output was consistent with the data given by NSE for respective indices.
here is the sample output for each indices ( Name of Indices show new format as per request of ranjit. But same is true for older ones in the format like ^NSEI etc)
NIFTY
<ticker>,<Date>,<Open>,<High>,<Low>,<Close>,<Volume>,
NIFTY,5/30/2008,4844.05,4908.85,4833.45,4870.1,131791932,
NIFTY,6/5/2008,4586.95,4690.6,4536.25,
4676.95,155581579,
CNXDEFTY
<ticker>,<Date>,<Open>,<High>,<Low>,<Close>,<Volume>,
CNXDEFTY,5/30/2008,3943.75,3995.1,3938.2,3970.55,131791932,
CNXDEFTY,6/5/2008,3707.85,3788.95,3664.75,
3776.65,155581579,
CNXMIDCAP
<ticker>,<Date>,<Open>,<High>,<Low>,<Close>,<Volume>,
CNXMIDCAP,5/30/2008,6606.25,6635.65,6518.25,6562.7,44849828,
CNXMIDCAP,6/5/2008,6199.1,6224.7,6086.6,
6214.95,58523305,
CNXIT
<ticker>,<Date>,<Open>,<High>,<Low>,<Close>,<Volume>,
CNXIT,5/30/2008,4592.4,4704.35,4543.15,4688.35,17365735,
CNXIT,6/5/2008,4420.2,4635.95,4410.9,
4615.7,14875735,
JRNIFTY
<ticker>,<Date>,<Open>,<High>,<Low>,<Close>,<Volume>,
JRNIFTY,5/30/2008,8281.35,8305.2,8113.25,8221.35,114691590,
JRNIFTY,6/5/2008,7596.35,7778.85,7471.4,
7749.95,113687736,
CNX100
<ticker>,<Date>,<Open>,<High>,<Low>,<Close>,<Volume>,
CNX100,5/30/2008,4670.25,4706.4,4630.65,4669.2,246483522,
CNX100,6/5/2008,4391,4483.9,4335.75,4
472.65,269269315,
CNX500
<ticker>,<Date>,<Open>,<High>,<Low>,<Close>,<Volume>,
CNX500,5/30/2008,3973.25,3992.5,3927.75,3959.65,322316042,
CNX500,6/5/2008,3724.75,3782.15,3669.2,
3774.6,371544175,
CNXBANK
<ticker>,<Date>,<Open>,<High>,<Low>,<Close>,<Volume>,
CNXBANK,5/30/2008,6608.6,6651.5,6502.45,6584.35,14414020,
CNXBANK,6/5/2008,6151.35,6238.8,5974.1,
6211.8,16438031,
Current Snapshot of NSE website Indices watch on front page
Index,
Current close, previous Close,%change,volume
S&P CNX NIFTY,
4676.95 , 4585.60 ,1.99%
CNX NIFTY JUNIOR,
7749.95 , 7596.00 ,2.03%
CNX IT,
4615.70, 4418.50 ,4.46%
BANK NIFTY ,
6211.80 , 6113.65 ,1.61%
CNX 100,
4472.65 , 4385.10 ,2.00%
S&P CNX DEFTY ,
3776.65, 3728.50 ,1.29%
S&P CNX 500 ,
3774.60 , 3719.40 ,1.48%
CNX MIDCAP ,
6214.95 , 6200.25 ,0.24%
As you can see , data for current date matches and in between dates, I had not downloaded data so it did not show up. For respective dates it shows correct values.
Now to come to your data, I am not sure how it might have happened, as I tried hard to replicate the error, but it keeps throwing correct values.
Only for volume , it is an approximation, which I will be going over the weekend.
pk