check_frequency {TwitterAutomatedTrading}R Documentation

check_frequency function

Description

This functions checks if the EA can send order to the plataform trading.

Usage

check_frequency(hours_frequency, time_zone)

Arguments

hours_frequency

The vector containing the hours of operations.

time_zone

The time zone.

Value

A logical vector TRUE if the EA can compute the sentiment.

Examples

time_zone <- "Brazil/East"
hour_freq <- generate_trade_frequency(9,17,10)
check_freq <- check_frequency(hours_frequency = hour_freq,
                             time_zone = time_zone)

[Package TwitterAutomatedTrading version 0.1.0 Index]