NexusFi: Find Your Edge


Home Menu

 





Limit select stocks to certain dates in Portfolio Maestro


Discussion in EasyLanguage Programming

Updated
    1. trending_up 4,120 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 159

I am looking for a way to limit certain stocks to certain dates in Portfolio Maestro. I would like to be able to test a larger Portfolio set on my strategy rather than just the current portfolio set. For instance, I have 10 stocks using the strategy for 20 days, then the set changes to a new set for the next 10 days. I can code the dates in a strategy but not sure how to limit the strategy inside Portfolio Maestro to only trade during those 20 days that the stock is valid for. Currently I have to test a 20 day period with that stock list, then test the 10 day period with new stock list separately then kind of guess on the best optimization overall. Probably a very confusing question, but any help would be greatly appreciated.


Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Thanks Mike. Godspeed.
The Elite Circle
Would a node-based workflow for automated trading be useful?
Traders Hideout
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Afternoon-close session
1 thanks
Converting NT7 indicators to NT8 for free
1 thanks
FootPrintV2 Chart for NT8
1 thanks
BERN ALGOS algo trading journal
1 thanks
  #2 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 159

I have resolved this for now. If anyone has any better ideas though feel free to comment!

Just using the GetSymbolName function in the strategy itself to only let it fill for that symbol during certain dates. Kind of a funky work around but it works.


Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on February 8, 2021


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts