append_trades: Extend a trade data frame with new trades

Description Usage Arguments Value

View source: R/append_trades.R

Description

Extend a trade data frame with new trades

Usage

1
append_trades(new_trades, old_trades, time_offset = 0)

Arguments

new_trades

a data frame, formatted like the output of describe_trades.

old_trades

a data frame, formatted like the output of this function, can be NULL.

time_offset

the index of trades are assumed to be starting at 1, the offset is added to this index.

Value

a data frame, with all values from new_trades and old_trades


henobe/flexoptr documentation built on March 11, 2021, 6:04 p.m.