I got the price history of \'SPY\' for the last 50 days and I\'m trying to use that to create a 50 day SMA I\'ve read somewhere that the best way would be to best to use pan