StockFetcher Forums · General Discussion · gain-loss spread<< >>Post Follow-up
psychtrader
4 posts
msg #72224
Ignore psychtrader
3/7/2009 12:40:53 PM

I read an article in Active Trader about using the gain-loss spread as a form of simpler volatility. Basically, here is what it was looking at.

To calculate the gain-loss spread for a stock, first select a
historical time period — one year, for example. Next, break
the time period into intervals of 52 weeks. Finally, ask four
simple questions:

1. In how many of the 52 weeks did the stock go up?
2. In how many of the 52 weeks did the stock go down?
3. For the up weeks, what was the average percentage gain?
4. For the down weeks, what was the average percentage loss?

The weekly gain-loss spread is calculated directly from these four numbers:

• The probability of gain is estimated as the number of up weeks divided by 52.
• The probability of loss is estimated as the number of down weeks divided by 52.
• The gain loss spread is the size of the average percentage gain times the probability of gain, minus the size of the average
percentage loss times the probability of loss.

I'm wondering if this is something that stockfetcher could calculate and then enter a symlist maybe of stocks in the same sector/etf?

Any coding gurus care to take a stab at it?

psychtrader
4 posts
msg #72819
Ignore psychtrader
3/16/2009 3:54:55 PM

Nobody?

StockFetcher Forums · General Discussion · gain-loss spread<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.