# NOT RUN {
buy_sell_t1 <- 0.2
buy_sell_t <- 0.5
Use_Delta_Sentiment <- TRUE
Sentiment_Index_Threshold <- 0.5
decision <- Trade_Decision(Current_Sentiment_Index = buy_sell_t,
Past_Sentiment_Index = buy_sell_t1,
Use_Delta_Sentiment = Use_Delta_Sentiment,
Sentiment_Index_Threshold = Sentiment_Index_Threshold,
past_decision = decision
)
# }
Run the code above in your browser using DataLab