Learn R Programming

TwitterAutomatedTrading (version 0.1.0)

operation_hours: 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

Run this code
# NOT RUN {
time_zone <- "Brazil/East"
op_hours<- operation_hours(start_time = 9.5,
end_time = 17,
time_zone = time_zone)





# }

Run the code above in your browser using DataLab