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  -  3,689 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

Play and Become A Better Investor!
As an investor, we often want to believe that we can pick stocks that can beat the market. So I made a game that allows us to test if we could actually pick stocks that can beat the market. The idea is simple: you will be given facts of an anonymous stock on a historical date. Based on the information, you will choose whether to invest or ignore that stock. Once you have made the decision, SGXcafe ...

StocksCafe Turns 3!
March is the birthday month of StocksCafe! In the blink of an eye, StocksCafe has already been around for three years! Thanks to the support of many, StocksCafe would very likely be around for many more three years to come. Thank you! StocksCafe's next goal is to be profitable enough so that Evan or someone else can be working on it full-time! New Features You might have realized that new features ...

Coming Back Soon: Dividend Information and More
It has been two weeks since my last update. I am happy to share that most administrative issues with SGX and third party data providers have been handled. Next on the list would be to tackle the technical issues of integrating data that I have licensed into SGXcafe. I have already started integrating dividend information, since this is something numerous users have been asking me about. At this point ...