Hello, How would I go about creating an Autotrade strategy that is designed to buy into a single option position (user defined long call) that enters the position at a defined price (alternative parameter: at a defined % lower than previous day close at open) and is sold once a certain % gain or limit price is achieved?
Size:
Color:
Are you looking for something like this?
CODE:
Please log in to see this code.
Edit: removed some temporary code line
Size:
Color:
Yes, this looks good from what I can tell (I'm a rookie) but since I'm rather new to WLP, I have two rookie follow ups / clarification questions:
1. Most Important that I'd like to better understand: Editing Functionality: Regarding functionality in wealthlab, once I paste this into a new strategy & compile the code, how would I go about changing/updating the code to use for different options (different underlying eg: AAPL, BIDU etc.), and also how would I go about changing the limit %s of the trade activity?
Currently I only have limited experience using the rules strategy editor view and my understanding is that once you compile a strategy that you can't change it? Is there a way that I can take this and create a new strategy and then further alter using the rules strategy? Or any other alternative method that I'm not aware of.
2. If I want to edit and add a repeat by x amount of times (eg; initiate another buy that's triggered off the initial position's sell to close being filled - basically an OTO order strategy that can be initiated x times a day and the further order lines would be based using an additional % or limit price parameter and a means to repeat 2-5 times daily? Does wealthlab provide such functionality?
thanks,
takacsjt
Size:
Color:
1. You can do any edits to a compiled code-based strategy. Just open it, edit, compile it again (Compile + Go or simply "Execute") and Save if required (like final edit).
Different option symbols:
CODE:
Please log in to see this code.
Size:
Color: