Given a news title, it calculates a sentiment score : if the score crosses a certain threshold, the strategy decides to buy or sell. Each trade lasts one day, and the strategy then computes the daily return. For Tesla the best model seems to be the regression š Just a quick note: the model uses the closing price as the buy price, meaning it already reflects the impact of the news.