Setting bar # for first day of forward trading
Author: ell7123
Creation Date: 4/30/2013 3:27 PM
profile picture

ell7123

#1
In the written materials you say rules-based strategies as well as coded strategies can be uploaded in WealthSignals. How would one set the initial bar for forward testing if using a rules-based strategy?
Second, where is the FAQ on position priority that is referenced in the Part 3 video?
profile picture

Eugene

#2
QUOTE:
How would one set the initial bar for forward testing if using a rules-based strategy?


What do you mean? No special setting is required. Have you read the guide on publishing signals? You just upload it once, and forward testing begins.

QUOTE:
Second, where is the FAQ on position priority that is referenced in the Part 3 video?


The User / WealthScript Guides, as well as the Wiki / Wiki FAQ all reference Position.Priority.
profile picture

ell7123

#3
From about 0.30 through 1.00 on the Part 3 video there is a fairly detailed set of instructions on how to set the bar # for the first day of forward trading, and I don't believe there is anything new in the position priority materials added specifically with reference to WealthSignals. Is this correct?
profile picture

Eugene

#4
Signals from rule-based system can be uploaded to a WealthSignals account, that's right. But if you wish to manually edit the code to tweak it, you have to convert it to a code-based strategy.

QUOTE:
and I don't believe there is anything new in the position priority materials added specifically with reference to WealthSignals. Is this correct?


What specific can WealthSignals add to Position.Priority? I have trouble following you.
profile picture

Cone

#5
QUOTE:
How would one set the initial bar for forward testing if using a rules-based strategy?
If the idea is not to touch the code in the Editor, then the only way would be to use the Data Range such that the first possible trade would be "tomorrow". In other words, if your trading loop starts at bar 100 because you have an indicator with a 100-barlookback, you'd find the date such that bar 100 is today. Save and use that starting date from now on.


QUOTE:
I don't believe there is anything new in the position priority materials added specifically with reference to WealthSignals. Is this correct?
Right. Using Position.Priority is pretty much needed when trading highly exposed systems...

1. Limit/stop systems:
These need to use the time-of-day priority to have a chance to synch with WealthSignals.

2. Market order systems:
Say you're using 10% of equity sizing and already have 9 positions. Now you get Alets to buy 3 more stocks at Market. If you send all three to WealthSignals, the first one that ticks will be bought - basically a random buy. In order keep in synch with Wealth-Lab, you must send only the signal with the highest priority, so that WealthSignals will hold the same position that the simulation will take.

Again, let me stress that the idea here is not specific to WealthSignals. This is how you would system trade in real life (if not using Raw Profit sizing).