Generates data using a given price dataset using the Pedroso et. al. (2018) method. Resulting prices are normalized to begin at one.
1 2 3 4 5 6 7 8 | pedroso_synthesis(
prices,
ntrend,
theta = 1,
extra = 0,
repl = FALSE,
win_len = 4
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.