check_frequency: check_frequency function

Description Usage Arguments Value Examples

View source: R/check_frequency.R

Description

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

Usage

1
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

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

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