sigTimestamp: generate a signal on a timestamp

Description Usage Arguments

Description

This will generate a signal on a specific timestamp or at a specific time every day, week, weekday, etc.

Usage

1
sigTimestamp(label, data = mktdata, timestamp, on = "days")

Arguments

label

text label to apply to the output

data

data to apply formula to

timestamp

either a POSIXct-based object, or a character string denoting a 24-hour time (e.g. "09:00", "16:00")

on

only used if timestamp is character; passed to split.xts, therefore on may be a character describing the time period as listed in endpoints, or a vector coercible to factor (e.g. .indexday)


redmode/quantstrat documentation built on May 27, 2019, 4:04 a.m.