Backtesting multiple assets (and timeframes) #1205
Unanswered
hannesfostie
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Please check if the following code meets your expectations. If it does, you can use a For loop to replace 'GOOG' or 'EURUSD' with your desired assets.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am currently trying to explore a multitude of different strategies from various sources. I believe something is a little different about what I'm doing than use cases you may have seen in the past: I only have a fairly limited amount of data for each asset I want to backtest (days to maybe a few months at most), but in all cases I do have multiple timeframes available should I want to use them.
I'm wondering how I could run a backtest for more than one asset. I want to see how the strategy performs on all of them, not a single asset at a time. For one, compiling the results could be a bit of work... but it's also possible that a strategy performs well on one asset, but not at all on another. I want to see the results of any particular strategy on the combination of these assets.
Is there a way to do this?
I found this: #364 which doesn't really provide much of an answer so far
Beta Was this translation helpful? Give feedback.
All reactions