About
betashell (貝塔配置計算器) is a personal project, offered free of charge.
Why it exists
On Dcard, a Taiwanese forum, people often ask “Should I take a personal loan to invest?” or “What mix of 0050 and VOO is best?”. The answers are mostly “play it safe with A, go bold with B”, and rarely work the question out. betashell tries to turn questions like these into something you can calculate:
- Whether to borrow, and how much leverage: put the loan rate, each asset’s volatility and the fall you can live with together, and get each item’s target weight and the CAGR of the leverage, to compare with other mixes. “Is this loan worth taking?” and “Should I use leverage?” on the app’s Analysis tab answer exactly this.
- Beating the market by concentrating, without leverage: work out how confident you need to be in those few holdings, that is, how much more than the market you must believe each one earns a year, for concentrating to pay off. “Diversify or concentrate?” on the Analysis tab answers this.
- The author needs it too: to work out how much of each holding to keep, and how much leverage to use, for their own assets.
Looking ahead
betashell is built for people growing their wealth over the long run: the model aims for the long-run compound growth of investment returns, and the fall you can live with is measured on investment returns too, so saving or withdrawing regularly does not change the allocation. What it does not handle yet is people living off withdrawals:
- When money comes out of the account every year, the same returns end differently if the fall comes first rather than last (sequence-of-returns risk): withdrawing during a crash makes the account harder to recover.
- What such people care about is whether withdrawals and a crash together will run the account down, for example whether the money lasts to a given age. That is a different goal from long-run growth.
- So it needs a different model, not one more parameter on the current one.
Who made it
Sources
- Tickers and short names of Taiwan-listed stocks and ETFs shown when searching for a holding in the app: Taiwan Stock Exchange OpenAPI, provided under the Open Government Data License, version 1.0.
- Prices of Taiwan listed and OTC securities: the Taiwan Stock Exchange OpenAPI’s daily closing prices and the Taipei Exchange OpenAPI’s OTC stock quotes, both provided under the Open Government Data License, version 1.0.
- Historical prices of Taiwan-listed stocks and ETFs and of Taiwan OTC bond ETFs, and the results of their dividends, capital reductions and splits (for computing total returns): FinMind; the most recent ones are the Taiwan Stock Exchange OpenAPI’s daily closing prices and the Taipei Exchange OpenAPI’s OTC quotes and ex-rights results.
- Month-end closes of the TAIEX (for estimating the volatility of TAIEX futures): the Financial Supervisory Commission Securities and Futures Bureau’s Major Indicators of Securities and Futures Markets, provided under the Open Government Data License, version 1.0; the latest months not yet published there and the current month come from the Taiwan Stock Exchange OpenAPI.
- Prices of Taiwan futures: settlement prices from the Taiwan Futures Exchange’s daily futures market report, provided under the Open Government Data License, version 1.0.
- The US dollar to New Taiwan dollar exchange rate: the Central Bank of the Republic of China (Taiwan)’s NTD/USD interbank closing rate, provided under the Open Government Data License, version 1.0.
- The US dollar risk-free rate and Treasury yields: the US Treasury’s Daily Treasury Par Yield Curve Rates.
- Dividends per share of US companies (for estimating dividend tax): XBRL financial data from the US Securities and Exchange Commission’s EDGAR.
Contact
For questions, suggestions, or to have your data deleted, email betashell@googlegroups.com.