Categories
advice and tips finance

CAGR compound annual growth rate of one of my IRA account

Reading Time: 2 minutes

This IRA account was a bit unusual, as I took some meaningful losses earlier on. Then from 2017 (maybe a little bit more earlier, but I only have the balance history since Jan 3, 2017), things started to look up. In last 3.5 years, the CAGR is about 54.54%. My bigger winner during this time was $HUN, and more importantly $OKTA. This is the chart.

And the formula to do it via Google chart. Basically I imported the CSV (downloaded form broker website) into google sheet, and used the default chart, and added the formula for CAGR compound annual growth rate. Last but not least, one may adjust the formula a bit (maybe retype it), in my case, I used this formula: power (end value / beginning value, 1.0 / number of periods) . The ^ symbol (at least as I copied and pasted) seems have some issues, so I used the math power function, which is same as the ticker ^ symbol here. The period is year here, as I was looking for the annualized return.

Last but not least, this does not depict the full picture of my personal investments. I made some dumb mistakes here or there, and also, I put most of my 401k money in stock mutual funds (some in S&P 500 funds).

(Update 07-21-2020) The annual return is 13.34%, as shown in the chart. There was two meaningful drops in last 12 months. For comparison, the S&P 500 was up 9.25 % in last 12 months and Berkshire Hathaway was down -6.65% in the same period (yahoo Finance chart here).

In retrospect, I did not do well when I trade too much. One reason for more trading is since last last year, TDAmeritrade stopped the trading fees. Rohinhood was free since its beginning (2015?) and I did decently well in its early days. Then I got into sort of slump. This is similar to my main trading account (IRA at TDAmeritrade), I did well in 2017 and 2018, perhaps early half of 2019 too. But was just so-so in last 12 months (again refer to my chart). Update: actually I did not do very well in 2017 (+25%), but I did exceptional in 2018 (up 100%), then followed by 50% in year 2019. Overall still decent.

Categories
advice and tips finance

Review 401ks II

Reading Time: 2 minutes

Today I started to look at other 401k accounts I have and evaluate whether I need to make any adjustments. This is a continuation of my earlier post.

In the past I do looked at them from time to time, but was not on a fixed schedule or anything. But I did start making some adjustments in last year or so, to my couple portfolios. For example, I got rid of the international funds in my Siemens 401k plan, I believe those will continue to underperform over the US equities in next 10 years or so. Most US companies are international companies too: I looked at the US large cap fund, the top 5 holdings are Microsoft, Apple, Amazon, Alphabet (Google) and Facebook. And its performance in last 1, 3, 5 and 10 years (10.5% vs 10.5% annualized) is fairly comparable to S&P index. Note in my earlier post I mentioned I am mostly keen on 10 years performance. Because we were mostly in a bull market in last 10 years (2010 to 2020). I recall Sept 2008 and March 2009 were two market lows last time around during financial crisis / great recession. So this is a bit confirmation of the market effect.

For this Siemens 401k account, I actually don’t plan to do anything today. I did update the address, since I moved from condo to current single family house in last August. I will still have a few more portfolio to look, as you can see from my linkedin profile, I changed job a bit in last 10 years or so. And I mainly used two choices when I deal with the 401k: leave them alone (for the most part); or move them to IRA (applicable to my 401k when I was in contractor position, as they usually will not let me leave the money there). I end up with 2 IRAs over the years, and a few more 401ks. Maybe at some point, I will consolidate, as management of those can become more tedious. As a minimum I need to have user name / password for them. The only place they have single sign on is the credit card company I worked for. A bit off topic, I recall a gentleman who used to work for Disney, and he said Disney has at least three SSOs. Then my colleague commented then it’s MSSOs 🙂

Categories
advice and tips kids

Had a small scare at Creve Coeur lake

Reading Time: 2 minutes

Today I had a small scare at the CC lake. I was chatting with friends while keep an eye on Sophia the 5 year old. Serenity the 10 year old went paddle boarding with friend with their moms permission. I found out after the fact, and when I asked the moms (my wife and Serenity friend’s mom), who were watching them, they said “we don’t know where they are on the lake”. This made me start to worry. Our quick response is, we rent a kayak to search on the lake. We asked around, not seeing them, increasingly worried, and even thought about calling 911. At this time I asked if we can use “find my iPhone” to find the girl, because the other girl’s mom hanged the phone on Serenity’s neck. It eventually worked, and we found them not too far from where they started, and it’s near the bank too. We were relieved, and did a bit more kayak afterwards.

My lesson here is make sure Serenity has her own iPhone, and help her learn how to use. Basically the friend’s mom called the girls twice, and the girls did not pick up the phone properly (accidentally pressed the “declined” button, thus the ensuing panic). Because this time she had friend’s mom’s iPhone on her neck while she was paddling / using the roar to push forward. And we had to call her friend’s dad to run this “find my iPhone” to pinpoint the particular device. I also want to make sure we have better network: maybe Verizon or AT&T for my whole family down the road. Right now both my wife and myself have mint mobile which uses t-mobile network, and it’s considered not as good as the VZ and T.

Serenity’s mom’s thinking is we should keep an eye on them all the time, unfortunately due to the size of this lake, it’s a bit impractical.

Categories
advice and tips

Covid etc

Reading Time: < 1 minute

First I want to make a quick announcement, I moved my website from uudaddy.com to stlplace.com/uudaddy as I decided no longer paying for the domain name uudaddy.com. Today incidentally I found people grabbed my previous domain.

Back to topic, while the guard for Covid is way down in the US. Please note it’s not completely gone yet. In fact the cases are going up in rural Missouri and many other states such as Arizona. A few months ago I create a README.md file in the Covid repo on GitHub. The websites I used to look up the US information are still valid: 1point3acres and coronainusa . I also follow Chris Prener (a SLU professor) and he has some good updates and charts for Missouri Covid as well. Such as this one. His GitHub repo here.

Categories
advice and tips finance

Adjusted my 403b fund allocation a bit

Reading Time: < 1 minute

Move some money from the two vanguard funds to the higher return funds. I usually looked at the 10 year return. I understand past return does not guarantee future success, but still…

current allocation: moving from vanguard small cap index and real estate index to Hartford and Janus, refer to below for the performances (two the large number columns, left is 10 year annualized return, the right is the annual return since inception)
Fund info
Categories
advice and tips

Special Occasion Speech: to Graduates in 2020

Reading Time: 2 minutes

It’s the worst times, it’s the best times. Pandemic and recession at the same time. For me the best part is spending some quality time with my wife and kids, the worst part is I have not got a haircut for over 3 months.

All these will pass. For college graduates or post college graduates, find something meaningful while living in your parents house, or basement. If Uber retracted the offer for your software engineer job, you may want to find something in the local schnucks or instacart, while continuing to pursue your dream in software development, be a mentor in launch code, apply to jobs at the fields that are still hiring: from Amazon to Walmart…

For high school graduates: your senior year or graduation is really unique, isn’t it? No proms or graduation like in the past: a lot of car parades or yard signs. My 4th grader daughter is graduating from her elementary school this year and I got a flavor of it. I have been in a similar boat in my life regarding college too: I was not accepted to a college of my first choice. I do believe most of you have received admission to colleges or know where you will go next. You may or may not know the status of “will college open or not”? Is it going to be online plus some in person class, or everything online like Cal State? We don’t know. We will find out as time goes. Hope the colleges make the right decisions in the circumstances.

In summary, I want to say don’t be afraid of the unknown or setbacks. Or even small failures. I still remember the night before I boarded the flight to the US for graduate school in 1997. I went to bed after packing all the stuff (managed to close the luggage box), then I could not fall asleep due to all this uncertainty. Step out of our comfort zone, what does not kill us will only make us stronger.

Categories
Java Software development Technology

Spring batch, Spring Scheduler, PCF

Reading Time: < 1 minute

Was experimenting running scheduled job on PCF. One natural choice is PCF scheduler, which comes with the Pivotal Web Services (PAAS). Googled around and found this example on DZone. The spring batch code is here. There was a small typo in the manifest.yaml,

path: build/libs/payment-processing-spring-batch-0.0.1-SNAPSHOT.jar
Note the snapshot.jar file name does not match what’s specified in the build.gradle file.

The correct file name is

spring-batch-job-0.0.1-SNAPSHOT.jar

The rest of the manifest.yml looks good, in fact I used the following options for my spring scheduler app manifest.

no-hostname: true
no-route: true
health-check-type: none

But PCF scheduler is not available in our environment. The Spring Scheduler is used instead. I followed this Get Started Guide from Spring. In my case I need to use Cron Expression, here is the code sample and here is the guide to cron expression.

Last but not least, in my case I need to send out email notification for the cron job conditionally. I used the java email code sample here.

======

Some PCF references

pivotal web serivce

cf login -a https://api.run.pivotal.io/

https://console.run.pivotal.io/tools

https://docs.pivotal.io/pcf-dev/index.html

cf login -a api.local.pcfdev.io --skip-ssl-validation

https://tanzu.vmware.com/tutorials/getting-started/local/deploy-the-sample-app

Categories
401k and Personal Finance

GCP Cloud Storage and PCF

Reading Time: < 1 minute

Tried two two tutorials on my personal GCP.

hello world


cloud storage (upload a file, then return a public url for download; another download link)

I may delete those bucket and files later on, as hosting costs money (app engine, cloud storage). Update: I disabled the app (here is one article talking about disable / delete app engine app). In simple term: I go to project, app engine, go to settings, click disable. Btw, I noticed all 73 cents charges for about 20 hours is from app engine.

From GCP Console Dashboard, I saw Resource

App Engine
2 versions
Storage
4 buckets

GCP Service Broker

For PCF, the approach above did not work (got an error on line 61 on the example above). I followed the steps for GCP service broker and pushed it to our pcf.

Virus Scan

Automating malware scanning for documents uploaded to Cloud Storage

PCF Sample App

It looks like with the VMWare Pivotal acquisition / integration, their hello world sample app website also moved. Here is the new link.

Categories
advice and tips finance

Industries got disrupted

Reading Time: 2 minutes

(Update 04-14-2024) I may have written this on Twitter/X, or here in my blog, that once at Sam’s Club (Manchester road), I saw a lady who is probably laid off from the media industry. And she was doing samples there. We all praised her for her cooking skills for salmon samples. She said she had degrees in journalism but it’s hard to find jobs in that area 🙁 If I find the tweet or the blog post, I will put a link here.

I found out I wrote it on my FB. I copied the content and put it in my blog post (scroll to the end).

(Original 05-2020, during pandemic) The recent pandemic hit some industries particularly hard, for example, airlines, hotels, cruises, casinos, car rental (enterprise layoff), car dealer and other hospitality and sport venues. The impact will be more wide spreading when we saw even the healthcare industry (for the lack of good word) is doing layoffs (BJC; SSM, Mercy), because one of the revenue stream elective surgery were cancelled in the COVID-19 world. Many laid off workers were hoping for a quick come back though, I sympathize with their thinking, but I also believe “hope” is not a strategy.

Over the time US industries go through a lot of changes, some grow, some shrink. A good example is Uber / Lyft are taking a lot of market share from the taxi because of lower price / smart phone integration. I worked for Arch Coal and Mercy between 2011 and 2015, and I can see both industries were not on a solid footing due to various reasons (both internal and external, mostly external forces). For example, Coal is replaced by natural gas in many power plant. For healthcare, government regulations is not helping providers financially. Because I work in IT / software world, I can switch between industries: I feel lucky in that sense.

Another industry is shrinking in recently years is the media esp. the newspaper. They were disrupted by Google News, Facebook news feed and twitter. People get news in new and different ways from the traditional newspaper. I think both Warren Buffett and Charlie Munger said similar things about that. Traditional cable TVs were on that trend too, as streaming and other over the tv top devices are getting more popular. So think about working for Netflix, Disney+, Roku instead of the local news paper or local tv station. It’s a trend and it usually take sometime for the complete or big shift, but we are getting there.

One thing I am interested to see, is how the grocery store, and Costco plays out. In the near term, I felt people are going to Costco less. And going to local grocery store (Schnucks or Aldi here), or using Instacart more. I am the former group.

And colleges too. I am not sure how fall semester will play out.

Last but not least, I am interested to help out any one (IT, software) who were impacted by the pandemic and I can do job referral or mock interview. Just let me know. My twitter handle is @stlplace

Categories
advice and tips finance

Leadership failure and control things we can control

Reading Time: 4 minutes

The handling of #pandemic in the USA is unthinkable a few years ago. But at the same time, it’s not totally uncharted territory as in my last 20+ years here in the US, I have seen at least 3 major incidents or economy crisis following it.

One is the dot com bust, then followed by 9-11-2001, those two are not directly related, but it’s a transition between Clinton administration to Bush administration, things fell through crack. I recall the 16% layoff at my company on 10-11-2001 (a month after 9-11), and the cry from my coworker that being laid off that day. Again the bigger layoff was due to the fact our company acquired a competitor, thus the redundancy. Note the air travel become much more strict since 9-11, before that I can go to airport terminal to send off or to greet family or friends. Now we need to take out laptop, iPad, take off coat, belt, and shoes. Basically the implicit trust between people were lost.

Anyway, Bush administration handled the initial crisis fairly decent, until it started invading Iraq, which has huge legal, moral, economy and human cost. But the US economy largely recovered and grew under Bush with a few glitches such as the handling of Hurricane Katrina, etc. Then in 2007, 2008, the housing crisis started to unravel, as shown in the documentary / movie: too big to fail starred by Hank Paulson. I watched it again recently and it reminded me of the days when CNBC does this crisis show in the evenings, and some weekends / Sunday were mostly working sessions for big guys in Wall Streets, and Fed / Treasury dept, and then some banks either went under or got bought. The most recent event reminds me some of that too.

But the #pandemic mismanagement is another level. Basically the US has about 2 months to prepare, and the federal government lost all this due to poor judgement and shear stupidity. Also unfortunately some people in the US has similar IQ as the guy in the WH. So basically politics got in the way, and the society suddenly stopped schools, and office work in mid March. And the unemployment, and pain to people in hospitality and small business is unimaginable (36 million people unemployed). The only thing that alleviate the pain a bit is the government (esp fed) realized the issue and basically started flood the money to the system, and the stimulus from congress esp. on PPP (payroll protection plan), bail out of airlines (similar to PPP, basically pay airline employees through the end of Sept).

Now, back to us, things we can control. No. 1 is still social distancing, good hygiene (hand washing, hand sanitizer, mask, social distancing). On personal finance side, if we don’t have a lot of spare cash, we need to manage our cash flow carefully, and be creative. The goal is get fed, be healthy (mind and body). Don’t raid the 401k or IRAs, if possible. Apply unemployment or PPP (small business owners). Contact the food banks if needed. Sell unused items on eBay or other sites. Cut cable TVs if applicable. There are still jobs at Amazon, or Walmart, just make sure you have enough PPE (mask, hand sanitizer) etc. Also, it’s never too old to learn about personal finance. My sense of people lack of saving is two fold: 1) The income is low, paycheck to paycheck; 2) The math can be improved. So focus on that, see if one can save $10, or $20 a month. If it’s $30 a month, it will be $360 a year, and there was a report saying 40% of Americans don’t have $400 in bank. So basically one can beat almost 40% of the people by saving $33 a month.

For me personally, this is the first financial crisis since I have two kids. I am older, and have a little more savings (due to the sale of condo recently). I am earning a bit more from work too (that part is not given). And personally I felt more confident on stock market (this is not given either, as I usually only long stocks. I have some winners such as $OKTA, and losers such as $DIS). Surprisingly I am not overly worried. Probably due to the fact I had been through layoffs and etc. Probably because I am older and wiser 🙂

Control things we can control

This is actually from my former CIO at arch coal, Dave Hartley. Arch Coal was in a pretty bad financial situation when I was there, 2011 to 2012. The company was cutting cost and our CIO was using that motto to encourage us. And I think it’s very much applicable today. I also recall Warren Buffett famously said “don’t bet against American”. My takeaway is majority of Americans are fair minded, decent, willing to work hard given opportunity, some have good entrepreneurship, and so on. I don’t want to put an cliche here: together we can win. But the reality is we are dealt with the cards we were dealt with. We can make the most / best out of it. We cannot change the cards.

Bonus read: so in summary, for 9-11, I think both President Clinton and president Bush bear responsibility. For 2008 financial crisis, President Bush. Pandemic, we know who to blame (hint: not China or Bill Gates 🙂