Time Series Analysis for Finance Using AI