Backtest Settings Within Code
Author: gbullr
Creation Date: 11/11/2014 12:29 PM
profile picture

gbullr

#1
Is there a way to put the backtest settings inside each strategy?

Can you point me in the right direction?

I would like to set

Leverage
Pos Size and
Data Range for example.

Thanks.

profile picture

Eugene

#2
Simple answer: no, it's not possible and not supported.

Long answer: advanced users could leverage this unsupported technique; additional programming is required:

WealthScript Techniques | Interacting Dynamically with Portfolio Level Equity

If you decide to go this way, you'll be doing it on a self-help basis of searching the forum for many existing conversations. Since it serves a different purpose, it's not ready for your task out of the box.
profile picture

gbullr

#3
I can barely get past the for loop so I think I am going to leave that one alone.


Thank you.

This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).