get data using quantmod,calculate covariant matrix