Save StockData for eachCsvLine.

You were not saving the stock data per line, try my update. I hope the change is self explanatory. The demerit is that if there are 2000 lines in csv file, you will save 2000 times. Note, what you can do is do not flush the data to database until the last row. Once you see you are saving the last row, then flush the save to database.