powered by
This functions closes a open position.
Close_Position(actual_decision)
The current position status("BUY IT NOW","SELL IT NOW", "SELL IT NOW CLOSE", "BUY IT NOW CLOSE" ).
A vector with the new decision.
# NOT RUN { decision <- 'SELL IT NOW' decision <- Close_Position(actual_decision = decision) # }
Run the code above in your browser using DataLab