Description Usage Arguments Value Examples
View source: R/OrnsteinUhlenbeckHalfLife.R
Computed from an Ornstein–Uhlenbeck process. This is the theoretically computed time, based on a historical window of data, that it will take for the spread to mean-revert half of its distance after having diverged from the mean of the spread.
1 | OrnsteinUhlenbeckHalfLife(price.Ratio)
|
price.Ratio |
price ratio between pairs |
A list
of half life results
1 2 3 4 | getFX("AUD/USD")
getFX("CAD/USD")
half.life <- OrnsteinUhlenbeckHalfLife(AUDUSD/CADUSD)
half.life
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.