Debug Window on a basket
Author: levyfred
Creation Date: 10/15/2009 5:50 AM
profile picture

levyfred

#1
When I apply a strategy on a basket, how can I check the debug windows on each underlying of the basket?
profile picture

Eugene

#2
I couldn't understand. Please rephrase?
profile picture

levyfred

#3
Ok.



When I backtest a strategy on a basket, how can I check the debug windows on each underlying of the basket?
profile picture

Eugene

#4
Sorry, but you have just copied the same sentence. Be verbose, it's not clear.

Start by taking a look at PrintDebug() in the QuickRef.
profile picture

levyfred

#5
Ok Ok.

When I backtest on a single underlying, I have the debug window which is displayed and I can debug the strategy.
But When I test on a basket, I can not manage to get the debug window on all the underlyings. It seems the software pick up randomly one of the undelying to display in the debug window. I would need to check all the underlyings through the debug window but I do not know how to switch from one underlying to another
profile picture

Eugene

#6
There is no random picking. We need to review your strategy, in particular how is PrintDebug used there (omit the "know how" part, leaving just the skeleton code enough to understand what's going on).
profile picture

levyfred

#7
I actually found what was wrong in my strategy. I was using Cleardebug() at the beginning of the class and this deleted the display of details for each of the underlyings.

Appologise for the time spent on this
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).