Books for WLP
Author: jelamiju1
Creation Date: 7/25/2009 3:16 PM
profile picture

jelamiju1

#1
I am not a programmer but would like to learn enough to code WLP 5.4. Any suggestions?

My e-mail is j.gillman@tds.net

Best,

Jeff
profile picture

Eugene

#2
Hi Jeff,

Please see some suggested reading in our Wealth-Lab 5 Wiki:

[LINK=http://www2.wealth-lab.com/WL5WIKI/kbFAQStrategy.ashx]How do I start with C# ?
I'm a Wealth-Lab 3/4 user, how to learn C# ?[/LINK]
profile picture

jelamiju1

#3
Dear Eugene,

I am not getting the results, that I should in this program, because it is not closing at EOD.
Could you please help. Thank you.

Best,

Jeff from Maine

CODE:
Please log in to see this code.
profile picture

Cone

#4
What are the results that you are expecting and not getting? Be very specific. Symbol, data loading, etc.. It's a good idea to focus on a specific trade to discuss.
profile picture

Eugene

#5
He may be confusing the at-close-of-bar exit used in the rule-based wizard with the actual exit at end-of-day using intraday data. If this is the case, the wizard will not do this for you jelamiju1 and you have to be prepared to do some coding:
CODE:
Please log in to see this code.

For backtesting purposes, this should suffice. For more, you're invited to take a look in our WL5 Wiki:

Intraday / Multi-Time Frame | Keep from holding positions overnight
profile picture

jelamiju1

#6
Eugene,

You are right on. The Wizard won't let you exit at end of day. I will take your help, and Back Test, then let you know if this was the solution. Also,thank you for your advice, and I will spend time with WLP5 Wiki.

Best,

Jeff from Maine
profile picture

jelamiju1

#7
Eugene,

For Fidelity's WLP-5.4, can I learn (for coding) C++ .NET or does it have to be, C# .NET?

Best,

Jeff
profile picture

Eugene

#8
It doesn't have to be C#, Jeff. Although Strategies can only exist as C# code in the built-in Editor, precompiled Strategies can be in any .NET language. However, C++ has a noticeably steeper learning curve.
profile picture

jelamiju1

#9
Eugene,

A couple of things:

1. Your "EOD" code worked Great, thank you, thank you!!

2. Also, I picked up a 2008 Csharp for Dummies authored by Chuck Sphar and looks good.

3. I down loaded 2008 MS Visual Basics to use in my quest to learn, along with this book.

4. After working through this material, what would be the best way to proceed for writing different trading codes on Fidelitiy's WLP 5.4?

Thank you.

Best,

Jeff from Maine
profile picture

Eugene

#10
QUOTE:
4. After working through this material, what would be the best way to proceed for writing different trading codes on Fidelitiy's WLP 5.4?

Explore the canned strategies. Study code examples from the WealthScript Programming Guide and the WL5 Wiki. Release 5.5 this Autumn will bring strategies shared by our users - more food for thought. Practice makes perfect.
profile picture

jelamiju1

#11
Eugene,

I've been away on a Family Vacation. Thank you for your suggestions and support.

Best,

Jeff from Maine.
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).