Close_Position: Close_Position

Description Usage Arguments Value Examples

View source: R/Close_Position.R

Description

This functions closes a open position.

Usage

1
Close_Position(actual_decision)

Arguments

actual_decision

The current position status("BUY IT NOW","SELL IT NOW", "SELL IT NOW CLOSE", "BUY IT NOW CLOSE" ).

Value

A vector with the new decision.

Examples

1
2
decision <- 'SELL IT NOW'
decision <- Close_Position(actual_decision = decision)

TwitterAutomatedTrading documentation built on July 1, 2020, 5:48 p.m.