[x] Connect ML model with front end. When the user enters prediction page, there are two different metrics for training data: 1) use today's data to predict tomorrow; 2) use a specific timeframe of data to predict
Acceptance Scenarios
Given: A registered user on the stock prediction page
When: the user selects predict button without selecting time frame
Then: the corresponding suggestion for tomorrow's action (to sell or buy) should be displayed.
Given: A registered user on the stock prediction page
When: the user selects predict button with a selected time frame
Then: the corresponding suggestions during the timeframe including tomorrow's action (to sell or buy) should be displayed.
Done Done Criteria
The feature should be integrated with current code without any error or new bug.
Story/Task Details
Acceptance Scenarios
Given: A registered user on the stock prediction page When: the user selects predict button without selecting time frame Then: the corresponding suggestion for tomorrow's action (to sell or buy) should be displayed.
Given: A registered user on the stock prediction page When: the user selects predict button with a selected time frame Then: the corresponding suggestions during the timeframe including tomorrow's action (to sell or buy) should be displayed.
Done Done Criteria
The feature should be integrated with current code without any error or new bug.