I want to use historical data for 5 stocks from YahooFinance and then calculate mean vector and covariance matrice, so I can optimize them with QAOA. Anyone know what is wrong with this code:
-
$\begingroup$ Which language/SDK are you using? $\endgroup$– MauricioAug 9, 2021 at 12:44
-
$\begingroup$ @Mauricio Python/Qiskit $\endgroup$– Milica G.Aug 9, 2021 at 12:59