Building an AI financial market model - Lesson I