Close for now Do you hold SG, US, HK or MY stocks? How are you tracking them now?
View our Demo portfolio to learn how StocksCafe will do it for you intelligently!
Sign up for free now!

Subscribe to RSS feed Shares Quantity Now Supports Decimal Values!

By Evankoh posted on 10 Aug 2018  -  9,517 views


Firstly, I would like to apologize to users who were affected by this "migration" last night and seeing errors on many StocksCafe pages. I was making a seemingly simple change, but is actually more complicated. I was making a database change for the field "shares quantity" from only accepting whole numbers (i.e. integers) to allow decimal values (i.e. floats). As integers and floats are considered different beasts (at least in Java), StocksCafe's code needed to be significantly changed since "shares quantity" is used in numerous places.

It should be fine now, but please report if you see any issues.

The main motivation for this change was because it was requested by Friends of StocksCafe, and their reasoning is that with robo-advisor and regular share-buying schemes, partial shares are often being transacted. With the growing popularity of such approaches, it is only reasonable that StocksCafe also starts to support decimal values for shares quantity to keep up with times :)

Thank you all for continuously helping StocksCafe improve!

Happy investing!


Like
5 likes
0 comments



Next Article > < Previous Article
Regularly Export Your StocksCafe ... StocksCafe Now Fully Supports US ...



List All Articles Other articles by Evankoh

Displaying & Collecting Dividends in Exchange's Default Currency
Many stocks give out dividends and it is what many investors like about investing. Often, dividends are listed in the currency that the stock is traded in. However, there are many exceptions to that, especially for foreign-listed companies. For example, United Overseas Australia Limited is traded in SGD but states its dividends in AUD. In StocksCafe, I wrongly assumed that you would receive the dividends ...

Regularly Export Your StocksCafe Data
Users input various information into StocksCafe such as what stocks they bought and when, and many would also record notes either about the transactions or stocks itself. All these are very precious data to users and often, users would like to keep a backup copy. Up until now, they can only be manually exported. I am happy to share that I have now set it up such that you can get a copy automatically ...

Updates: Visualization, Watchlist Limit, and Renamed Stocks
A quick update on a few tweaks around SGXcafe. One of the top feature requests recently in SGXcafe is having more visualization. Specifically, the ability to see at a glance how much dividends you receive monthly (against other years) historically and pie charts to see your portfolio's breakdown by sector, industry and companies. Feel free to suggest more if there is other information you'd like to ...