You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Currently part of the JavaScript community is in need for a Decimal type.
I'm the founder and maintainer of Mida, a Node.js framework for trading in financial markets, to solve the floating point error we have created our own decimal type, but this is not the point of this post.
This is a list of applications in need for a Decimal type
Most Crypto Exchanges and Trading Platforms expose REST and WS APIs in JSON format, most of the consumers are Python and JavaScript users. I don't have numbers here, but I'd say that clearly Python is the most used and Node.js/JavaScript is at the second place. In fact the documentations and examples of this platforms are either in Python or JavaScript, prices from their API responses are strings as they expect us to have some ready-to-use decimal type, but unfortunately that's not the case.
All this platforms are relatively new, but as we can see they already endorsed JavaScript,
they are growing day by day, I don't see a remote future for organisations having a JavaScript codebase for their financial applications.
Regards,
Vasile
The text was updated successfully, but these errors were encountered:
I guess the need for decimals in these kinds of use cases -- beyond simply having some kind of decimal datatype at all -- is basic arithmetic (addition, subtraction, multiplication, division, remainder, rounding). Beyond that, are there any other kinds of mathematical operations that might be used?
Hello,
Currently part of the JavaScript community is in need for a Decimal type.
I'm the founder and maintainer of Mida, a Node.js framework for trading in financial markets, to solve the floating point error we have created our own decimal type, but this is not the point of this post.
This is a list of applications in need for a Decimal type
References:
References:
All this platforms are relatively new, but as we can see they already endorsed JavaScript,
they are growing day by day, I don't see a remote future for organisations having a JavaScript codebase for their financial applications.
Regards,
Vasile
The text was updated successfully, but these errors were encountered: