tc39 / tc39/proposal-decimal

Trading platforms are moving to JavaScript

Open
#79 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
638
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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

  1. 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.

References:

  1. Most Blockchain projects are written in Solidity and JavaScript

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the proposal repository and the linked trading and blockchain API references first. The issue motivates a JavaScript Decimal type but names no files, tests, entry point, or acceptance criteria, so the completed work cannot be determined from this report alone.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.