Prop Platform
...Project: Crypto Prop Trading Platform
⸻
1. Project Goal
Create an online prop trading platform where the user:
1. Registers
2. Purchases a trading challenge
3. Completes the evaluation stage
4. Receives a funded account
5. Shares profits with the platform
The platform must be fully automated, with a risk control system and transparent calculation logic.
⸻
2. Project Architecture
2.1 Technology Stack
Frontend:
• Next.js (SSR)
• Tailwind or similar
• Responsive design (mobile-first)
Backend:
• Node.js (NestJS) or Laravel
• REST API
• JWT authorization
Database:
• PostgreSQL
Hosting:
• VPS (Ubuntu)
• Docker (preferred)
• Separate server for the database
⸻
3. Website Structure
3.1 Public Part
Homepage
Blocks:
1. Hero block
• Title
• Subtitle
• Button “Start Challenge”
• Button “View Rules”
2. How It Works (3 steps)
3. Challenge table
• Account Size
• Price
• Profit Target
• Max Daily Drawdown
• Max Total Drawdown
• Profit Split
4. Advantages
5. FAQ
6. Affiliate Program
⸻
4. Registration and Authorization
Functionality:
• Email + password
• Email confirmation
• Password recovery
• JWT authorization
• 2FA (via Google Authenticator)
Users table:
• id
• password_hash
• role (user/admin)
• referral_code
• referred_by
• created_at
⸻
5. Personal Account
5.1 “My Accounts” Section
Display:
• Account ID
• Challenge Type
• Starting Balance
• Current Balance
• Profit Target
• Daily Drawdown
• Total Drawdown
• Status (Active / Passed / Failed / Funded)
⸻
5.2 Account Details
Metrics:
• Equity
• Balance
• Floating PnL
• Realized PnL
• Max Daily Loss (used %)
• Max Total Loss (used %)
Trade History:
• Date
• Pair
• Direction
• Position Size
• PnL
⸻
6. Challenge Logic (Main Mathematics)
For each account, the parameters are set:
• initial_balance
• profit_target_percent
• max_daily_drawdown_percent
• max_total_drawdown_percent
6.1 Profit Target Calculation
profit_target = initial_balance × (profit_target_percent / 100)
If:
current_equity ≥ initial_balance + profit_target
→ status = PASSED
⸻
6.2 Daily Drawdown
daily_loss_limit = initial_balance × (max_daily_drawdown_percent / 100)
If:
(starting balance of the day − current equity) > daily_loss_limit
→ status = FAILED
⸻
6.3 Total Drawdown
total_loss_limit = initial_balance × (max_total_drawdown_percent / 100)
If:
current_equity < initial_balance − total_loss_limit
→ status = FAILED
Verification should occur automatically with each new trade.
⸻
7. Trading Integration
Options:
Option A — API Integration
• Connection to the exchange via API key
• Retrieval:
• Trades
• Balance
• PnL
• Updates every 5–10 seconds
Option B — Simulator
• Built-in trading system
• Prices pulled via market API
• User opens trades within the platform
• Platform calculates PnL
⸻
8. Payment System
Connect:
• Crypto (USDT TRC20 / ERC20)
• Stripe (cards)
Logic:
After successful payment:
• a challenge account is created
• status = ACTIVE
• the trading period countdown starts
Payments table:
• id
• user_id
• amount
• currency
• status
• created_at
⸻
9. Affiliate Program
Each user receives:
referral_code
System:
• 10–20% of the challenge cost
• Accrual after successful payment
• Display in the account:
• Number of referrals
• Total income
• Accrual history
Referrals table:
• user_id
• invited_user_id
• commission
• created_at
⸻
10. Funded Stage
After PASSED status:
• a funded account is created
• Profit split = for example 80/20
• Upon withdrawal request:
• net profit is calculated
• platform % is withheld
• a payout request is created
⸻
11. Admin Panel
Functions:
• View users
• View accounts
• Filter by statuses
• Manual status change
• Manage tariffs
• Manage commissions
• Approve payouts
• Financial statistics
⸻
12. Security
• Rate limit API
• bcrypt hashing
• CSRF protection
• SQL injection protection
• User action logs
• Admin action logs
⸻
13. UI/UX
• Dark theme
• Live PnL (animation of changes)
• Mobile device adaptation
• Minimum overload
⸻
14. Additional (optional)
• Scaling plan (capital increase after X payouts)
• Trader leaderboard
• Trading restrictions during news
• Automatic challenge reset for an additional fee
⸻
Applications 2
Current freelance projects in the category Cryptocurrency & Blockchain
Audit and construction of a secure infrastructure for sending BTC transactions
601 USD
We are looking for a Bitcoin security engineer for two tasks: (1) auditing the current wallet generation and BTC sending system to identify vulnerabilities; (2) designing and building a new secure infrastructure for key storage and transaction sending.Part 1 — Audit of the… System & Network Administration, Cryptocurrency & Blockchain ∙ 7 days 13 hours back ∙ 10 proposals |