Inspiration
The stock market is getting more and more accessible in the current era. However, many people have no interest or time to learn about it. One of the solution is social trading. Users can see what trades someone is doing and can then copy the trades. We took it a step further and automated the process.
What it does
We built an exchange platform which allows the users to view how well other people are doing. If they like what they are seeing they can follow that particular trader. So if he makes a trade, it will automatically attempt to perform the same trade for you as well.
How we built it
We built our stack entirely around TypeScript for its interoperability. The frontend is written in React.js, the backend is a RESTful API written in Nest.js with Prisma and a MySQL Database. The bots to automate trading are written in plain TypeScript.
Challenges we ran into
It was a big challenge to build our trading bots, which initially run on historic data. Then they take over to perform all the trading automatically. Accessing and parsing financial data between interface and from public sources was also time intensive.
Accomplishments that we're proud of
Our matching system written entirely in SQL and running in a single DB Transaction to guarantee success when executing (even multiple orders at once).
What we learned
We learned many teamwork skills, in particular partitioning of a larger workload. Through this weekend, we experienced work under pressure and interlinking subsystems over interfaces. The challenge also taught us a lot about trading platforms and the design considerations involved.
What's next for Socialtrade
- Add more Algorithms for Bots that trade.
- Follower count for traders
- Real, professional traders that can be followed
Built With
- axios
- d3.js
- mysql
- nest.js
- node.js
- prisma
- react
- rx.js
- typescript
- yahoo-finance
Log in or sign up for Devpost to join the conversation.