I am a novice to AutoTrading so starting easy with paper account at Alpaca. My strategy is backtested and set up on Weekly frequency and when I ran it this morning it appears to me to generate way too many signals considering a TransactionWeight condition exists. I believe I set up and configured it all correctly and hopefully everyone can see the image or access the link to the image that I pasted in here. The strategy is right there in the image.
Looking forward to anyone's assistance.
Thank you
Looking forward to anyone's assistance.
Thank you
Rename
You'll get all entry signals available unless you limit their number in the strategy code or in the Position Sizing control > Max Entry Signals.
Rookie mistake... Thanks for that. Can we only run Weekly Strategies to generate signals after the close on Friday's up until the open on Monday's ? Lastly, I remember one of the youtube videos mentioning that the strategies won't work on live accounts with the basis price being Market Open next Bar. Did I remember that correctly and if so can you please explain.
Thank you
Thank you
Since the "weekly bar" will update every day, you can get daily results with "partial weekly bars", which will obviously change daily and therefore be different that what you see after the future Friday's close.
Basis Price and all the sizing settings are explained in detail in the F1 Help > Strategy > Strategy Settings.
Basis Price and all the sizing settings are explained in detail in the F1 Help > Strategy > Strategy Settings.
Circling back on this. Still slightly confused that I set Max Entry Signal to 10 and received 32 buy signals on this weekly strategy. Might be another rookie mistake on my end but hoping to get more clarity.
Thank you
Thank you
Is Max Entry Signals set here in the Strategy monitor configuration? When I run Knife Juggler (which signals every bar for every symbol) on the Dow 30, Weekly, with 6 Max Entry Signals, I only get 6 entry signals.
Thanks for getting back to me. I can't even get to the box you are showing (Starting capital to Max Entry Signals) when I go to configure the strategy in the Strategy Monitor. Max Entry Signals is set at 10 in the original Strategy Window but again not sure how to get to that box in Strategy Monitor bc it doesn't appear. I am sure I am missing something simple so looking forward to next response.
Click on the "Position Size" dropdown for it to appear.
Thank you.
Is there a setting in Building Blocks that does not place a Trailing Stop order despite that being a signal to sell a position. The way my strategy is running is it is placing Stop orders (whether is be from initial 7% from entry price or on 18% trailing basis), thus the system reads it as it being sold this week and providing 10 Entry Signals despite the Strategy Setting of 10 Max Open Positions. I simply want to sell at the Market if the price breaks 7% from entry price or breaks 18% lower from close on a trailing basis. Or maybe put another way, I only want Entry Signals to be generated if there is open position slots available (10 total positions in my strategy). Any work around for this or maybe a simple change I haven't explored.

Is there a setting in Building Blocks that does not place a Trailing Stop order despite that being a signal to sell a position. The way my strategy is running is it is placing Stop orders (whether is be from initial 7% from entry price or on 18% trailing basis), thus the system reads it as it being sold this week and providing 10 Entry Signals despite the Strategy Setting of 10 Max Open Positions. I simply want to sell at the Market if the price breaks 7% from entry price or breaks 18% lower from close on a trailing basis. Or maybe put another way, I only want Entry Signals to be generated if there is open position slots available (10 total positions in my strategy). Any work around for this or maybe a simple change I haven't explored.
Ran a slightly different weekly strategy that would have open positions following this past week, 10 max open positions, 10 max entry signals, and it generates 10 buy signals when it is only selling 1 open position. I would think the system would only generate a buy signal when an open position exists out of the 10 that the strategy is allowing. For example, if there are 10 open positions and based on sell criteria it is selling 3, then 3 buy signals would be generated based on transaction weighting. If I missing something please let me know. Do I need to configure it differently? Symbol ranking instead of "Transaction Weight" ? How can I achieve this ? Hoping to get clarification or an explanation to this.
Strategies always run in a hypothetical world unless ..
1. you add code to your strategy to interact with a live account, or,
2. you enable "Use Live Positions" in the Trading Preferences, which has an effect only in the Strategy Monitor and a strategy added to a Streaming Chart, and/or,
3. you enable "Enforce Max Open Positions from Pos Size" when configuring your strategy in the Strategy Monitor.
To limit the number of entry signals so as not to surpass N positions in an account without adding your own code, #3 is what you're looking for - use the Strategy Monitor with the "Enforce.. " option. See the Help Guide (F1 >> Strategy Monitor) for details.
1. you add code to your strategy to interact with a live account, or,
2. you enable "Use Live Positions" in the Trading Preferences, which has an effect only in the Strategy Monitor and a strategy added to a Streaming Chart, and/or,
3. you enable "Enforce Max Open Positions from Pos Size" when configuring your strategy in the Strategy Monitor.
To limit the number of entry signals so as not to surpass N positions in an account without adding your own code, #3 is what you're looking for - use the Strategy Monitor with the "Enforce.. " option. See the Help Guide (F1 >> Strategy Monitor) for details.
Thank you very much for the reply. I thought #3 would have solved it but I apparently am still running in the same situation. 10 buy signals were generated when the strategy was only selling 4 positions. I have it set at 10 max positions and 10 max entry signals.



Please let me know if there is something else incorrect in the configuration or trading preferences.
Thank you
Please let me know if there is something else incorrect in the configuration or trading preferences.
Thank you
In Post #6 Alpaca was selected as the Broker, but now you have WL's Dummy Broker selected.
Just changed it and got similar results. It is a paper account and weekly strategy so maybe the new configuration with "Enforce max pos" would work after week is complete?


There are 10 buy signals in the upper frame and only 1 in the lower frame. I'm not sure why you're showing 2 sets of signals. What's the difference?
I can't tell which account was selected for the top one, but for the bottom with Alpaca there is only 1 Buy signal and multiple sell signals. What's in account?
What's the problem you think there is? Explain it with the data you have available, like with a picture of the Accounts tool (Ctrl+T) that shows the open positions of the Alpaca account. It would also be good to stretch the settings window so we could see the Max Entry Signals configured too.

I can't tell which account was selected for the top one, but for the bottom with Alpaca there is only 1 Buy signal and multiple sell signals. What's in account?
What's the problem you think there is? Explain it with the data you have available, like with a picture of the Accounts tool (Ctrl+T) that shows the open positions of the Alpaca account. It would also be good to stretch the settings window so we could see the Max Entry Signals configured too.
The bottom snippet is just a continuation of from the top with a little overlap (ZS to GE on top and the bottom starts with ZS). Even with "Enforce Max Open Pos" checked off, the strategy produces 4 Sells but still 10 Entry Signals, where based on my understanding and trying to figure out it should have just produced 4 Entry Signals. Unfortunately nothing is populating in accounts for me and I would show you the backtest from the standalone strategy but even with going off of Norgate the symbols are showing "Historical Index Exit" which I know is not correct so not entirely sure what is happening there. Below is snippet of the configuration.
QUOTE:Then that's the first problem you need to solve/understand. If there are positions in the account, they will show up like this -
Unfortunately nothing is populating in accounts for me
Not getting any positions when I run it through the Strategy Monitor. I don't get signals either but thought based on previous posts I would even if its a weekly strategy. I believe everything is set up correctly with Alpaca paper account/API keys, etc. I can manually send orders through the Order Manager when I try it during the day. Apologize for the elementary questions and appreciate your guidance in getting this all straightened out for me.

Alpaca connected fine.
Based on previous posts, you're getting plenty of signals - there are no positions because no orders were placed. Neither Auto-Stage or Auto-Place is selected in the images in Post #13 or Post #15. If you're not going to use those options, you have to manually select the signals and Place them from the Signals pane.
Signals don't place themselves. In the tools that generate them, you have to get them to the Order Manager (OM) manually or automatically by Stage or Place. If you Stage (manually or Auto), then you still need to take the extra step of Placing the order manually from the Order Manager.
Based on previous posts, you're getting plenty of signals - there are no positions because no orders were placed. Neither Auto-Stage or Auto-Place is selected in the images in Post #13 or Post #15. If you're not going to use those options, you have to manually select the signals and Place them from the Signals pane.
Signals don't place themselves. In the tools that generate them, you have to get them to the Order Manager (OM) manually or automatically by Stage or Place. If you Stage (manually or Auto), then you still need to take the extra step of Placing the order manually from the Order Manager.
So I changed the strategy to daily to to get positions in the account yesterday and then test out the signals for today. Below are snippets of the Account, Strategy Configuration, and Signals. Apparently it sent 10 buy signals when there are already 10 positions in the account and the configuration calls for 10 max positions. So I am not sure if there something inherently wrong with the way the strategy is configured but I would have thought that since there are no sell signals, no entry signals would have been generated since 10 max positions is in the configuration.



Your Response
Post
Edit Post
Login is required