Skip to content

How to deal with option sensitivities like delta, vega, gamma and theta with historical and live data ? #1573

Answered by limx0
faysou asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @faysou

where is the best place in the system to do this computation

I would recommend calculating your greeks inside an Actor, as this will operate the same way for backtest and live trading.

how can I cache the computation of implied volatilities and greeks (sensitivities) so it doesn't need to be done again for several backtests.

We don't yet have a builtin method for caching results from actors (though it's been on our minds for some time), but you could run a single backtest with persistence turned on and output the results of your greeks actor, then for subsequent backtests, turn off the actor and feed the greeks data straight into the backtest. There's a little bit of manual…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@faysou
Comment options

faysou Apr 1, 2024
Collaborator Author

Answer selected by faysou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants