A professional Request For Quote (RFQ) simulation platform built with Node.js (Express) and a modern institutional-style UI.
trac1e3vrpk8g6j75fx0y3hrddu3v4czln8yrgu4p2xsylh4gg0vxxgvscslpaw
- Express backend API
- Simulated liquidity peers
- Randomized price + fee generation
- Effective price calculation
- Best quote auto-highlight
- RFQ log panel
- Institutional dark UI
rfq-simulator/ │ ├── server.js ├── package.json └── public/ └── index.html
- Install dependencies
npm install
If needed:
npm install express cors
- Run server
node server.js
Server will run at:
POST /api/rfq
Request Body:
{ "asset": "USDT", "amount": 1 }
Response Example:
{ "timestamp": 1700000000000, "asset": "USDT", "amount": 1, "quotes": [ { "peer": "Peer_A", "price": 852.47, "fee": 0.26, "effectivePrice": 854.69, "total": 854.69 } ] }
Base Price = 850
Price Fluctuation = ± random
Fee = 0.10% – 0.40%
Effective Price = price × (1 + fee/100)
Total = effectivePrice × amount
Best quote = Lowest Total Cost
- User selects asset
- Enters amount
- Clicks Send RFQ
- Backend generates quotes
- Frontend renders quotes
- Best quote highlighted
- User clicks Accept
- Logged in RFQ Log
- Quote expiration countdown
- WebSocket streaming
- Oracle simulation
- Spread analytics
- Smart routing engine
- Multi-asset pricing engine
This is a simulation tool. No real trades occur. No blockchain interaction.
MIT
EOF
