poissonJumps | R Documentation |
An ad-hoc model fitting a Poisson distribution to the number of jumps excess a threshold per week.
poissonJumps(symbol, jump_thresh = 0.03, side = "up", envir = parent.frame())
symbol |
ticker symbol; can be stock ticker or a cryptocurrency |
jump_thresh |
threshold of jump size |
side |
direction of jump: up or down |
envir |
environment to load stock data into |
A chi-square test is run against the expected Poisson counts of jumps over the observed number of events. Log-returns are used so that this can be used in an ad-hoc way to assess fits for a Merton jump diffusion.
numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.