Subscribe to RSS feed Errors in Portfolio Report

By evankoh posted on 1 Jun 2017  -  27,392 views

If you looked at your portfolio report these past few days, you might have noticed an unreasonable increase (typically well beyond 1000%) in your portfolio time-weighted returns, as well as a sharp increase in ES3's monthly volatility (>20%).

Firstly, I am very thankful to users who took the time and effort to report this issue. Some users even went a step further to take screenshots to ensure that I can easily understand the problem. In fact, several users did so independently. It is very important for users to report irregularities because many a time, I do not even see these errors as everyone uses StocksCafe differently.

Next, I would like to explain why it happened and why it is unlikely that it will be error-free going forward.

For this particular issue, there are actually two reasons:
1) Generating portfolio report is a computationally-expensive task. As the number of users for StocksCafe continue to increase rapidly, I have been tuning it to run as fast as possible, and in the process introduced the bug of wrongly computing portfolio time-weighted returns.
2) With the expansion to Hong Kong and Malaysia markets, there are days when ES3 did not trade, but I still computed the daily return of it, which lead to the sharp jump in volatility (this likely happen to users with stocks outside SGX).

These issues affected about 1% of the users.

In general, the reason why it is unlikely to be error-free going forward is simply because StocksCafe is continuously expanding to new markets and having new features added to it. With limited time resources, it is a tradeoff between the speed of releasing new features vs probability of errors with the new release. Of course, I will perform checks before releasing new updates, but there is still a chance of errors slipping through the cracks.

What I would typically do after discovering an issue (and fixing it) is to write a checking script to at least quickly realize it if the same issue were to happen again in future.

Therefore, please continue to report to me whenever you see irregularities, and let's improve StocksCafe together! Thank you!

Happy investing!


Next Article > < Previous Article
Open Invitation to Financial Bloggers ... Malaysia Bursa Stocks Now Available!

List All Articles Other articles by evankoh

SGXcafe Will Continue To Stay Free
Long Story Short SGXcafe will continue to be free, but to cover for the high operating costs due to licensing, I would like to invite you to do one or more of the following if you would like to show your support for SGXcafe. 1) Help increase awareness of SGXcafe. You can do this via your blog, share SGXcafe's articles on facebook, or simply via word of mouth to people whom you believe can benefit from ...

Download the improved StocksCafe app now!
Over the last few weekends, I have been focusing on improving and adding features to the StocksCafe mobile app. While it is still far from perfection, I believe it should have many features that you would need on the go. Go to App Store (iOS) or Play Store (Android) today and download it if you have yet to. If you already have the app, do update it to v0.5.0 to access all the newly added features. ...

10,000 Registered Users!
Today is a special day for StocksCafe! After 1,604 days or (about 4 years and 5 months), we finally have our 10,000th registered user. That is about an average of 6.23 users/day. While this is not an amazing sign up rate, it is still an awesome achievement in my opinion considering that we have 1,265 users who have contributed to StocksCafe and 1,082 who are still contributing. A 10% active paying ...