- ago
I would like to simulate a buy-and-hold strategy using the meta strategy creator. However, in order to do this, I would need to simulate a buy and hold using a building block strategy.

How could I accomplish a buy and hold on 1 symbol using building blocks? I imagine its fairly simple, but I need some guidance to make sure I do it correctly.

0
193
Solved
3 Replies

Reply

Bookmark

Sort
- ago
#1
After looking through the discussion forum, I found a C# strategy that can accomplish the same goal, so building blocks are not needed.

Here is the URL for the C# Code: https://wealth-lab.com/Discussion/Buy-and-Hold-SPY-doesn-t-match-the-benchmark-SPY-6802
0
Cone8
 ( 41.71% )
- ago
#2
Just open a new BB Strategy and delete the Sell block. Voila! Buy and Hold starts with the open of the second bar, sized using Close of the first bar.

Note - for testing purposes you can select "Basis Price: Market Open next Bar" so that all 100% of Equity can be applied without risk of missing the trade due to a gap.
0
Best Answer
Glitch8
 ( 37.74% )
- ago
#3
This would also do it:

0

Reply

Bookmark

Sort