Hello,
I created a new custom ScoreCard. When i run the new Scorecard for a selected Dataset, i want to calculate SystemPerformance for each symbol separatly.
I always get a different result from executing only one symbol.
Here is the default code :
public override void PopulateScorecard(ListViewItem listView, SystemPerformance performance)
{
}
And this is my custom code :
CODE:
Please log in to see this code.
I take same parameters from the default SystemPerformance calculated by WealthLab.
Did i made a mystake somewhere?
Thanks for help.
Size:
Color:
Size:
Color:
I'm using Raw mode. This is not the reason
Size:
Color:
Still, please try "Use Worst Trades..." and see if it makes difference or not.
Size:
Color:
I found my problem. It was because I didn't give any instruction regarding the position size.
Now, I have a second problem. With the following code, I can give the size of my order but I have seen that no commission is applyed by default. How can I give an instruction to RunDonor to say which commission DLL has to be used ?
CODE:
Please log in to see this code.
Size:
Color:
Take a close look into the runDonorNew method, and see for yourself what it's doing with regard to determining the commission plan.
Size:
Color:
Thank you very much. I will try. Just for my information, why in the Wiki, there is no information about it ?
Size:
Color:
Because it's an internal, unsupported routine.
Size:
Color:
Can we have a list in the Wiki of "internal unsupported routine" ?
Size:
Color:
Of course no, this is why it's unsupported and internal. The code is gratis, open source, and is not a part of Wealth-Lab. As it requires some programming background, motivated developers are on their own with it.
Size:
Color:
Important note to the users of the PerformanceEngine class (internal, unsupported part of the MS123 Visualizers library):
The information regarding PerformanceEngine calling conventions provided across the forum before is actual as of the library version 2012.05.1 and earlier. In future versions, the syntax will most likely undergo a breaking change due to a complete rewrite of the PerformanceEngine class.
Size:
Color: