Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week! ¤
Search MI
Shrewd'm.com Merry shrewd investors
Best Of MI | Best Of | Favourites & Replies | All Boards | Post of the Week! ¤
Search MI


Investment Strategies / Mechanical Investing
Unthreaded | Threaded | Whole Thread (12) |
Author: lizgdal 🐝  😊 😞
Number: of 4356 
Subject: Re: Testing momentum screen using GTR1
Date: 08/30/2025 4:16 PM
Post New | Post Reply | Report Post | Recommend It!
No. of Recommendations: 7
Now you want to filter based on Market Cap. Market Cap is a calculated field, and so a formula is needed. Formulas should only use fields and prices from the same data source (for example .a and aprc). The Market Cap formulas are:

MktCapS: product(sprc,shraq1.s)

MktCapC: product(cprc,cshoq1d.c)

MktCapA: linear(0.000001,product(aprc,if(styp.a=30!31,sho.a,cso.a)))

B1. Go to the {Nas} screen. https://gtr1.net/2013/?~Nas::nas100.a:et1
B2. Click the Free-Form button.
B3. Copy and Paste the 3 Market Cap formula into the Field Labels box.
B4. Paste the following formula into the Steps box on a new line.
min(MktCapS,MktCapC,MktCapA) top 20
B5. Run Backtest
https://gtr1.net/2013/?~NasBig20::nas100.a:et1:min...
B6. Congratulations, you've used a calculated field.
B7. Name and save your screen: NasBig20
https://gtr1.net/2013/?~NasBig20::nas100.a:et1:min...

A spreadsheet listing calculated fields is useful. Just copy and paste when needed. For example: https://yorickm.com/Message.php?pid=35092774
Post New | Post Reply | Report Post | Recommend It!
Print the post
Unthreaded | Threaded | Whole Thread (12) |


Announcements
Mechanical Investing FAQ
Contact Shrewd'm
Contact the developer of these message boards.

Best Of MI | Best Of | Favourites & Replies | All Boards | Followed Shrewds