quantstrat icon indicating copy to clipboard operation
quantstrat copied to clipboard

Investigate using the 'survival' package for signal analysis in quantstrat

Open jaymon0703 opened this issue 6 years ago • 0 comments

Liberally edited from a prior email from @braverock:

"Survival models measure the probability that some event transition will happen in the future.

For signal analysis, the transitions would likely be trading relevant things like pullbacks (so you could us resting limits), up x%, down x%, etc. within some specific time horizon.

This is called a 'competing risks' model, appropriately enough.

Survival models also have a set of 'progression' states (they were developed for modeling disease progression) that could tie up-1%, up-2% etc states together.

Maybe we can get it into quantstrat eventually."

jaymon0703 avatar Jul 05 '19 12:07 jaymon0703