Description Usage Arguments Value Examples
View source: R/generate_trade_frequency.R
generate_trade_frequency function
1 | generate_trade_frequency(initial_time, final_time, freq_trade)
|
initial_time |
The time the algorithm starts trading. |
final_time |
The time the algorithm ends trading. |
freq_trade |
The frequency which the algorithm recalculates the sentiment index. |
A vector containing the hours of operation.
1 2 3 | hours_candle_10 <- generate_trade_frequency(9,17,10)
#For example, for 17:30, you should use minutes/60, i.e. 17.5
hours_candle_20 <- generate_trade_frequency(9,17.5,10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.