Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xMarket

Overview

xMarket lets you practise trading stocks and FX pairs without risking real money. The app combines a clean React interface with Firebase authentication and Firestore storage so every user keeps a persistent paper account that mirrors a broker experience.

Key areas of the product:

  • Trade – Submit instant spot orders or create scheduled/program orders that trigger when price thresholds are reached.
  • Portfolio – Visualise cash vs. positions, review FIFO lots, and inspect historical wealth snapshots.
  • Explore – Browse tickers with fundamentals, performance ranges, and price charts backed by a custom worker that proxies Yahoo Finance.

Tech Stack

Getting Started

The application is in production at : https://loic-marigny.github.io/xMarket/

git clone https://github.com/loic-marigny/xMarket.git
cd xMarket
npm install

Create a .env file (see .env.example) and fill in:

VITE_FIREBASE_API_KEY=...
VITE_FIREBASE_AUTH_DOMAIN=...
VITE_FIREBASE_PROJECT_ID=...
VITE_FIREBASE_STORAGE_BUCKET=...
VITE_FIREBASE_MESSAGING_SENDER_ID=...
VITE_FIREBASE_APP_ID=...
YAHOO_WORKER_URL=...
YAHOO_WORKER_TOKEN=...
VITE_SUPABASE_URL=...
VITE_SUPABASE_ANON_KEY=...

Then start the dev server:

npm run dev

Useful scripts:

Command Description
npm run dev Vite dev server with hot reload
npm run build Production build
npm run preview Preview the production build locally

Scripts

All scripts of the project are explained in SCRIPTS.md file. Most are not used anymore.

License

MIT © Omar Alshbli, Tom Delalande, Siako Mamoond, Loïc Marigny, Sarvar Tulkunov – see LICENSE.

About

xMarket is an educative trading app, written in TypeScript using Vite and React.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages