Hello,
For a Finance class I have to program a realtively complex if statement, and
have been working on it for quite some time, to no avail. The statement must
state that, IF the total % return on an index goes up by 1.5% or more then
BUY if it goes down by 1.5% or more the SELL. Everything in between you are
to hold. Now, in the event that you are not between a buy and a sell your
money is to be invested at a T-Bill rate of 4%. Any transaction costs will
cost .25%. I have the BUY/SELL function
programmed=IF(C857<=-0.015,"Buy",IF(C857>=0.015,"Sell","")). It now tells me
when to buy or sell. Now I need to figure the Holding period return for when
the money is invested in the T-Bill and when it is invested in the market.
Any pointers? Thanks!
Patrick
Bookmarks