Skip to content
Prev 14518 / 15274 Next

Using quantstrat with options

There should conceptually be no difficulty with lots of symbols and 1-
minute data.  We pretty routinely use quantstrat on tick data or 1-
second data.

We pretty regularly segment our backtests with a loop around the calls
to applyStrategy that load data monthly or quarterly, add symbols to
portfolios or create new portfolios for each segment, and then run that
subset of the overall backtest series.

I do not trade options, so I can't help there, but you should be able
to manage the meta-data for the contracts by adding fields to your
instrument definitions.  If things like tick sizes and multipliers are
set correctly for the root symbol, then the accounting should work.

Regards,

Brian