Should I place entry orders for historic open positions in paper trading?
Author: TenOC
Creation Date: 10/25/2017 5:21 PM
profile picture

TenOC

#1
I am new to WL. I have been working on a strategy for a week or so. I have backtested my strategy with a number of data sets and I am happy with the results.

Now I wish to do "Paper Trading" in PaperAccount1 (for a short period of time) on all the stocks listed in my custom "NDC To Trade" data set which consist of 50 stocks. Since my strategy has a stop loss exit I am getting 50 alerts to enter a stop loss order but no buy alerts since the backtest executed the buy orders some time ago.

Must I manually enter a buy order with Fidelity using the order ticket form for each of the 50 stocks into paperaccount1 to reproduce the open position that the backtest thinks I have before I (automatically act on the alerts) enter the stop loss order or is there a way to automatically have WL place the buy orders with Fidelity for my PaperAccount1?

I assume that I need to duplicate the position that the BackTest has for the data set before I go "Live".
profile picture

Eugene

#2
The exit alerts for the positions not owned in your account will be ignored. Nonetheless you can instruct your strategy to not enter the historical positions and start new by adding a condition like this:

CODE:
Please log in to see this code.
profile picture

TenOC

#3
I think I added your suggestion correctly ??? I see no change when I run the backtest. Still shows long positions.

Will I see the change when I log on to Fidelity and do the paper trade?


CODE:
Please log in to see this code.
profile picture

Eugene

#4
You've missed the key step;
CODE:
Please log in to see this code.
profile picture

Cone

#5
Eugene, you should correct that step in your instruction in post #2 :D LOL
profile picture

Eugene

#6
Robert, please clarify.
profile picture

Cone

#7
Nevermind.. I use a different, slightly shorter, design pattern...

CODE:
Please log in to see this code.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).