Subscribe to RSS feed
Updated: 2 Jul 2020
posted on 17 Dec 2018  -  44,784 views
Note: StocksCafe API is now deprecated and not available anymore.
As StocksCafe continues to grow in term of the number of features and complexity, it is time to shift from
Monolithic Architecture to
Microservices Architecture in order to maintain flexibility and scalability among other advantages. In laymen terms, this simply means that instead of StocksCafe being one giant chunk of software, it is now broken down into many smaller manageable pieces.
One obvious change for you as a user going forward would be pages will start loading asynchronously (i.e. page will load in parts in parallel). Another interesting effect is that you can start accessing StocksCafe data via API. For those who are interested in accessing StocksCafe data via API, please read
While not all data is accessible at the moment, the plan would be to be able to access all data in StocksCafe via API. However, please note that at least for now, I am limiting it to only Friends of StocksCafe and you can only make 100 API calls every day (reset at 12am SGT daily). Finally, you can
head here to get your API Key.
With StocksCafe API, I believe it opens up many different possibilities of using StocksCafe and its data. If you are interested in using StocksCafe API to build tools and applications (such as mobile app), please let me know. I am more than happy to support/collaborate.
Customizable Dividend Tax Rates at Stock Level
While you can already set
custom dividend tax rate at the exchange level, I have recently added the ability to determine them at stocks level.
Exchange Level Setting: This is useful for markets where most stocks have a dividend withholding tax rate (e.g. US listed companies have tax rate of 30%).
Stock Level Setting: This is useful because not all stocks listed on the US markets are subject to the same dividend tax rate. ADRs is a category of stocks that have tax rates based on the underlying market. For example:
RDS.B is listed on NYSE but its primary market is LSE, hence there is no dividend withholding tax.
In this case, you can simply go to the stock page (e.g.
RDS.B) and override the dividend tax rate (shown on the right hand side for desktop and at the bottom for mobile).
Note: All customizations at stock level can
be seen here.
p/s: Special thanks to
pom for suggesting customizing dividends tax rate at stocks level.
- Wow awesome.
On a side note, I've also recently looked at and tried adopting microservices architecture in my company too haha.
22 Dec 2018 11:05:17
- Yup. I guess that is the way going forward :)
22 Dec 2018 13:27:55
- The api is not available anymore? Is there any other way as I am interested to explore and incorporate into my own Finance App. Thanks.
22 Sep 2021 16:19:37
- @ryukitsu - Sorry, it is not available anymore. You would have to source from other places.
28 Sep 2021 14:45:18
Next Article >
< Previous Article
StocksCafe Now Supports Any Asset!
List All Articles
Other articles by evankoh
Introducing the New Wall
As mentioned in the first article of 2017, one of SGXcafe's focus is to improve mobile engagement. So here we are, with our first baby step. I was never a fan of how SGXcafe's home page was as it did not allow users to easily catch up on the latest happenings since their last visit, and the format was not mobile-friendly. Hence we are introducing a Wall that is inspired by Facebook's feed where all ...
One thing I wished for in StocksCafe is the sharing of knowledge and information between users. It was the main motivation of having "Cafe". However, it has not been as lively as I had hoped for. I have made some changes to it recently, hoping to encourage more sharing between users. 1) Less Clutter - I have removed and rearranged sections in order to create a simpler and cleaner look. 2) Searchable ...
How My Wife Uses SGXcafe - Dividend Strength
Recently, I finally managed to convince my wife to start investing directly using her own account. That is, she now has to decide for herself what and when to buy/sell. I did this partly so that she can directly feedback to me about what features needs to be improved or added to SGXcafe for users like her. I'll let her tell you about her experience using SGXcafe. --- Unlike Evan, I have no interest ...