- ago
Once a new strategy in run and entry orders are auto placed, when do the exit orders get placed based upon conditions? Do this happen automatically if the strategy is active?
0
373
Solved
14 Replies

Reply

Bookmark

Sort
- ago
#1
As shown in the "Next Run" column.
0
Cone8
 ( 7.10% )
- ago
#2
There are also Auto-Trading strategy options to place stop and/or limit exit orders immediately after the entry order is filled. In WealthLab lingo, those are called "Same-Bar" exits. For Building Blocks, you'll see a "Same-Bar" checkbox on Exit blocks that offer that feature.
1
- ago
#3
I am running an optimized knife juggler strategy. When I first ran it, 4 positions (I am using 5 symbols) were executed (auto-place is on) in a test account.

If I manually run it again (with use live positions checked in trading preferences) 1 of the 4 open positions generates an order to sell at the profit target, the other 3 positions execute market sell orders even though signal name is "sell after 4 bars" and the positions all close despite 4 bars not having occurred yet or profit target reached.

If I turn off live positions and execute strategy, new repeat buy orders for the 4 symbols will be executed essentially doubling the initial position size. Curious as to this behavior as I would have thought with live positions on that sell at profit target order would be generated for all 4 trades not just one.
0
Cone8
 ( 7.10% )
- ago
#4
What scale are you using? Daily? 30-Minute? (It's an EOD strategy, but since you're running it in the middle of the day before the close, I'm not sure what you're intending to do with it.)

Which tool are you manually running it in? (This makes a difference for "Use Live Positions")

What are the 5 symbols? (for context)
0
- ago
#5
Running it using strategy monitor and strategy was optimized in building block strategy using daily data. Symbols are abnb, amd, ddog, elf, meta.

Ran it a second time in strategy monitor believing it would generate sell orders to either occur a few bars away or when profit target was achieved. Strangely, for one of the symbols (abnb) the second run did indeed generate a limit sell order at the profit target price but for the other 3 symbols it generated market sell orders (strange). Keep in mind that all 4 symbols created an entry position today.
0
Cone8
 ( 7.10% )
- ago
#6
This is the effect of "Use Live Positions", which syncs Positions in your account to the Strategy in the Strategy Monitor and Streaming Strategies in charts. Open Preferences (F12) > Trading and hit F1 to read all the details.

EOD strategies will not load the next bar until the after the market closes. What you were observing was the strategy syncing to the live positions as if you had traded them before today. In 3 cases, the strategy would have entered those positions 2 session ago, so you get market orders for those. The other entered "yesterday".

Now that the market is closed, you'll get the new bar for today and the strategy should properly sync to what happened today.
0
Best Answer
- ago
#7
I am seeing that now. thank you
0
- ago
#8
Have another question about this daily strategy. If I run the strategy before market open in the strategy monitor and click on auto-place, is there anyway of forcing the order to execute only on the open? Currently, if there is pre-market data, the trades are executing immediately rather than at market open.

Tried clicking "Use MOO" in trading preferences but that did not help the situation.

0
Glitch8
 ( 10.23% )
- ago
#9
Do you have “enable pre post market trading” turned on in trading preferences?
0
- ago
#10
I do not have that checked.
0
Glitch8
 ( 10.23% )
- ago
#11
What broker are you using?
0
- ago
#12
Right now I am using a dummy account for testing but streaming provider is IBKR
0
Glitch8
 ( 10.23% )
- ago
#13
The Dummy Broker currently doesn't consider whether things are pre/post market, it just fills orders. But I think we'll improve it in a future release to consider pre/post market situations.
0
- ago
#14
Thank you.
0

Reply

Bookmark

Sort