Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of MIBest OfAll BoardsThe Shrewd’m WeeklyLearn to InvestHow to Become Shrewd
Search
Shrewd'm.com Merry shrewd investors
Search
Best Of MIBest OfAll BoardsThe Shrewd’m WeeklyLearn to InvestHow to Become Shrewd


The week's question
In March 2025, in the thread "Re: OT, out", Umm asked the members: "Do you think it is because America is made up of magical soil that makes businesses based in America magically profitable?" This week it is put to everyone again. The button below opens the small thread re-asking it - read what others have said so far, then give your own answer as an ordinary reply.
Answer this questionContinue to Shrewd'mThis note won't appear again
Investment Strategies / Mechanical Investing
Unthreaded | Threaded | Whole Thread (44) |
Author: anchak   😊 😞
Number: of 6243 
Subject: Re: A mechanical strategy
Date: 03/24/23 6:47 PM
Post New | Post Reply | Report Post | Recommend It!
No. of Recommendations: 0
OK - scrap all the above - My basic assumption is that you will implement in Excel.

I thought thru it -and this is what it needs to have ( Of course on top of your Excel portfolio simulator)

(1) Add these columns to track
(a) Portfolio Value
(b) Cash Value
(c) Buy side
(d) Sell side

(e) Might help to track # of shares too

Also dont have the T-bill ie cash returns or set it to zero initially - because that would facilitate the SANITY CHECK

The simplistic constancy is on the buy/sell sides

Buy side = P[i-1]* (1- theta)*(1+alpha1)

where,
P[i-1] is last months portfolio value, Theta is the current actual monthly drop in Index, Alpha1 is the BTD threshold parameter
Trigger check Theta > =Alpha ( positive treatment, you can do the other side too)

As you can see that is the hyperbolic function

Sell side = P[i-1]*(1+theta)*(1-alpha2)
where,
P[i-1] is last months portfolio value, Theta is the current actual monthly rise in Index, Alpha2 is the STP threshold parameter
Trigger check Theta > =Alpha2 (again positive treatment)



So ENDING STATUS
BTD
P[i] = P[i-1]*(1-theta) + Buy Side
Cash[i]= Cash[i-1] - Buy Side

STP
P[i]= P[i-1]*(1+theta) - Sell Side
Cash[i]= Cash[i-1] + Sell Side

You add the T bill return to Cash in the end ie Cash[i] = Cash[i-1]* (1 + T-bill/12) for the first term

Hope this will aid in a smooth setup!
Post New | Post Reply | Report Post | Recommend It!
Print the post
Members reply directly to anchak here — and replies get answered. Reading is free; so is joining the conversation. Join Shrewd'm »
This community has written 6,227 posts about Mechanical Investing. The article-length ones it recommended most:
Dividend investing · 52 recs · 2025
Non-Mag7 screen · 34 recs · 2025
OT - Div yields and returns · 32 recs · 2024
Using AI to generate backtesting programs · 30 recs · 2025
Rankings for 19Dec2022 · 29 recs · 2022
Unthreaded | Threaded | Whole Thread (44) |


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 | Open Questions | Moving a community