Can I create a "new asset" in the DataSet, which itself is an adjusted price differential between two stocks (and back test etc)? thanks for help
Size:
Color:
Aside from coding the price differential as a DataSeries, it seems that you can use the Index Manager (Index-Lab) tool for creating the "new asset". Please see "Index Lab" in the Wealth-Lab User Guide.
Size:
Color:
thanks Eugene - I'll have a look at that.
Size:
Color:
Eugene, in the above comment coding as a dataseries, do you mean calculating the price differential externally, eg in Excel, and then importing the resultant values as an ASCII file? sorry for dumb questions!
Size:
Color:
No, I mean calculating the difference in WLD6 directly by loading the 2nd symbol's data via the GetExternalSymbol method and referring to its Close (High etc) series.
As an illustration of the concept, take a look at DataSeries > Accessing Secondary Symbols in the WealthScript Programming Guide (Help menu).
Size:
Color:
Eugene, is it possible for me to spend 15-20 mins with someone on Skype to help me through the set up of a particular trade. I'm sure it would save me days of exploration.
Size:
Color:
Please count me out w.r.t any instant messaging, tutoring, mentoring, or remote assistance sessions. But you're always welcome to ask your questions on the forums.
Size:
Color:
OK fair enough Eugene. I want to trade the spread between two stocks, where I set up a market neutral position (buy one, sell the other) when the (maybe adjusted by a factor) SAM for the spread moves outside the BBs (either upper or lower) for the spread. Can you give me some guidance on how to set this up? I'm not a programmer, and I am probably just struggling with my own naivety of the architecture of WL.
Size:
Color:
Size:
Color:
thanks Eugene. I also found this which is WL4 code - is there an easy way to convert this to WL6 because it looks close to what I want...
Size:
Color:
FYI, this is the link to where I found it =
http://wl4.wealth-lab.com/cgi-bin/WealthLab.DLL/editsystem?id=36764
Size:
Color:
Check out the site FAQ.
Size:
Color:
got it, thanks Eugene
Size:
Color:
Tried the WealthScript Translator - just came up with a bunch of errors.
Size:
Color:
I wouldn't say it's a very informative description.
Size:
Color:
Size:
Color:
Thank you Eugene - very grateful. Are there any resources in the WL community that you're aware of that can help me with building code - eg as a consultant for a fee?
Size:
Color:
You're welcome. As to your question - we're only preparing to launch a MarketPlace feature to meet the two parties together.
Size:
Color:
Eugene, I'm trying to copy & paste that script into WLS and it all compresses to one line - is there a trick?
Size:
Color:
Yes, the trick is called -- don't use Internet Explorer (seriously). Firefox and Chrome shouldn't have any trouble but IE has.
Here's a workaround to this inconvenience: paste to and copy from Wordpad before pasting to WL6.
Size:
Color:
thanks Eugene - that worked.
Size:
Color: