We are seeking an experienced full-stack developer to build a comprehensive web-based trading simulator (Demo). This project requires expertise in both frontend and backend development, with a strong focus on real-time data visualization and robust administrative capabilities. The simulator will feature a "God Mode" for administrators to manually edit trade parameters and financial outcomes, allowing for flexible testing and scenario simulation.
Core Frontend (ui/ux):
- charting integration: implement tradingview lightweight charts via api for real-time market data visualization.
- Trading Dashboard: Develop a dynamic dashboard displaying key metrics such as Balance, Equity, Margin, and Profit & Loss (PnL) in real-time.
- Order Entry: Create a user-friendly interface for placing Market and Limit orders (Buy/Sell).
- Positions Table: Display a live list of both open and closed trades, showing relevant details for each.
- Admin Override Interface: Design a hidden or restricted "Edit" modal accessible for every active trade, enabling administrators to modify trade data on the fly.
Backend (Logic):
- Mock Execution Engine: Develop the core logic to open and close trades based on current market prices, without actual financial settlement.
- Calculation Logic: Implement standard PnL calculation: (Current Price - Entry Price) * Quantity.
- Override Logic: Integrate a "Manual Override Flag." When active, the system must display user-defined PnL/Price values instead of the calculated market values.
- API Integration: Connect to a public API (e.g., Binance, Alpha Vantage, or
Polygon.io) to fetch live price feeds, preferably via WebSockets for real-time updates.
Database Schema (Editable Attributes):
The database must support full CRUD (Create, Read, Update, Delete) operations for the following trade fields:
- entry_price (Editable)
- exit_price (Editable)
- pnl_fixed_amount (Manual override field)
- timestamp (To simulate historical trades)
- status (Open, Closed, Pending, Liquidated)
Technology Stack (Recommended):
- Frontend:
React.js or
Next.js (TypeScript preferred).
- Styling: Tailwind CSS.
- Backend:
Node.js (Express) or Python (FastAPI).
- Database: PostgreSQL or MongoDB (for flexible trade objects).
- Real-time Communication:
Socket.io for pushing price updates to the UI.
Key "Playroom" Features:
- Manual PnL Injector: Provide the ability to input a specific dollar amount (e.g., "$500.00") and have the dashboard immediately reflect this PnL, irrespective of current price action.
- Balance Manipulation: Enable manual resetting or adding of "Virtual Funds" to the trading account.
- Trade Retro-fitting: Allow modification of the "Entry Time" of a trade even after it has been opened, to simulate different historical scenarios.
Delivery term: Not specified