NUSwap

NUSwap is an open-source, simulated cryptocurrency trading platform designed to provide a risk-free environment where students can learn algorithmic trading, risk management, and financial concepts through hands-on practice and peer competition.

poster

Description

Overview

NUSwap is a crypto paper trading platform developed within the NUS FinTech Lab. It provides a simulated, risk-free environment for users to practice cryptocurrency trading from live market data and order execution to short selling and algorithmic strategies without any real financial exposure. The project focuses on delivering a simple, efficient, and educational trading experience backed by a real-time matching engine.

Whether you are a student, researcher, aspiring trader, or simply curious about cryptocurrency markets, NUSwap makes it easier to learn trading mechanics and test strategies in a safe, realistic setting.

Current Version

ItemValue
Versionv2.0.0
StatusActive Development

Key Features

Real-Time Market Simulation

NUSwap streams live cryptocurrency prices and order book data into a realistic, continuously updating market environment, complete with candlestick charts and technical indicators (SMA, EMA, RSI, MACD).

Full Order Execution Engine

A custom-built matching engine supports limit and market orders, short selling, and covering positions. Users can settle trades, update balances, and track open/closed orders in real time.

Portfolio & Risk Tracking

Users can monitor their cash balance, asset holdings, allocation breakdown, and profit/loss trend over time, including borrowing fee accrual on short positions.

Algorithmic Trading Sandbox

A built-in code editor lets users write and run their own trading scripts against the live market, with sample strategies (SMA, Momentum, Mean-Reversion) and a back-testing script provided as a starting point.

Contests & Leaderboards

Users can compete in trading contests with live leaderboards and university-level rankings, turning practice trading into a friendly competition.

Use Cases

This project can be used for:

  • Learning the mechanics of crypto trading in a safe sandbox environment
  • Testing and back-testing trading strategies and algorithms
  • Teaching market fundamentals in an academic setting
  • Running trading competitions or classroom contests
  • Exploring order book dynamics, short selling, and portfolio risk in a simulated market

Benefits

For Users

  • Practise real trading mechanics order books, fills, shorting with zero financial risk
  • Build and test trading algorithms in a live-data sandbox before ever risking real capital
  • Track performance and learn from a full P&L history and leaderboard standing

For Organizations

  • Provides a ready-made, hands-on teaching tool for fintech and trading education
  • Lowers the barrier to running trading competitions or workshops
  • Demonstrates practical, real-time systems engineering (matching engine, live feeds, GraphQL API)

Roadmap

Planned future improvements include:

  • Improved user experience across the trading and learning flows
  • Expanded integrations with external market data providers
  • Enhanced reporting and analytics for portfolio and contest performance

Project Team

Developed and maintained by the NUS FinTech Lab. The current IT support team include Vu Hoang Quoc Bao and Tran Hoang Thien Kim.

We welcome feedback and suggestions to help improve the project.