operation_hours {TwitterAutomatedTrading} | R Documentation |
operation_hours
Description
This function defines the operations hours of the EA.
Usage
operation_hours(start_time, end_time, time_zone)
Arguments
start_time |
The time that the EA should start to trade. |
end_time |
The time that the EA should stop to trade and close the open positions. |
time_zone |
The time zone. |
Value
A logical variable TRUE if the Expert Advisor can trade.
Examples
time_zone <- "Brazil/East"
op_hours<- operation_hours(start_time = 9.5,
end_time = 17,
time_zone = time_zone)
[Package TwitterAutomatedTrading version 0.1.0 Index]