I got code before from Eugene to write symbols to my dataset automatically and all I have to do is restart wealth-lab in the morning...
Now I want to write symbols to the same dataSet within my combination strategy. My comb strategy has 4 underlying wealthlab script. Scripts were wired to write to the same dataset right now but after I restart, the dataSet looks strange.. is there special code I need to do this ?
Size:
Color:
QUOTE:
I got code before from Eugene to write symbols to my dataset automatically and all I have to do is restart wealth-lab in the morning...
Now I want to write symbols to the same dataSet within my combination strategy. My comb strategy has 4 underlying wealthlab script. Scripts were wired to write to the same dataset right now but after I restart, the dataSet looks strange.. is there special code I need to do this ?
Having read this, not sure if I should laugh or cry.
You start a new topic about "some code" which does something known to
only you without even referencing the original discussion. There are over 40000 forum topics, so that you knew. Then you use a Combo Strategy in some relation to the unreferenced code. Is my understanding correct that I should guess what "looks strange"
to you in that DataSet after you run that unknown code? :-)
Size:
Color:
I hope Corona lockdown doesn't affect you much.
I can't search based on user name so I don't remember where I got the snippet before. If I have this code(below) in all 4 of my underlying scan within a combination analysis, would they overwrite each other or it will be ok? I am doing all those power user stuff by taking snippet you or Cone gave us or some other real power user provided, string them together and test the output... A lots of time, I don't even know why /how it works.
CODE:
Please log in to see this code.
Size:
Color:
Now I see. A
code like this modifies a DataSet in WealthScript on-the-fly. For what it's worth, it's unsupported in this context. Only static data providers should do this. If it works in your script then it's fine with me. But if you push the limits in an untested scenario like the concurrent writes from a Combo Strategy, then I can't make any promises. It's quite expected that it may produce undesirable results after WLP restart.
P.S. Did I say it's unsupported? ;)
Size:
Color: