NexusFi: Find Your Edge


Home Menu

 





Limit select stocks to certain dates in Portfolio Maestro


Discussion in EasyLanguage Programming

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




 
Search this Thread

Limit select stocks to certain dates in Portfolio Maestro

  #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: 157

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?
REcommedations for programming help
Sierra Chart
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Quant vue
Trading Reviews and Vendors
 
  #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: 157

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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts