
RealStock
📈 Sun RealStockTW - Real-Time Stock Trading System
📖 Overview
Sun RealStock TW is a premium stock trading plugin designed specifically for FiveM servers. Developed based on the ESX Framework, it integrates Real-time Taiwan Stock Exchange (TWSE) data. Players can experience immersive stock trading, track live market trends, and manage their investment portfolios through a modern Web UI interface.
📺 Demonstration
Preview Video
Click here to watch the full feature demonstration
✨ Features
- 📈 Real-Time Data: Integrated with official TWSE APIs to sync with live market prices.
- 💰 Trading Mechanism: Supports Buy/Sell orders with automated fee (0.1425%) and tax (0.3%) calculations.
- 📊 Portfolio Management: Real-time display of holdings, P/L (Profit/Loss), and ROI.
- 📉 Professional Charts: Built-in Chart.js support for technical analysis and price trends.
- 🎯 Limit Orders: Set target prices for automated execution (up to 20 active orders per player).
- 📜 Transaction History: Detailed logs for every trade to track financial performance.
- 🏆 Achievement System: 6 built-in trading achievements with automated cash rewards.
- 📊 Leaderboards: Displays the top 10 most profitable traders on the server.
- 🔔 Discord Integration: Instant notifications for all trading activities via Webhooks.
- 🗺️ Physical Exchange: Pre-configured map locations with custom Blips.
- 💻 Modern Web UI: Minimalist and immersive web-based interface.
- 🌐 Multilingual: Supports Traditional Chinese, Simplified Chinese, and English (expandable).
🚀 Technical Specifications
Performance
- Idle: 0.00 ms ~ 0.01 ms
- Active: 0.01 ms ~ 0.03 ms
- Update Interval: Default 60s (Configurable)
Requirements
- Framework: ESX Legacy
- Dependencies:
es_extended,mysql-asyncoroxmysql - Database: MySQL / MariaDB
- Data Sources: TWSE (Taiwan Stock Exchange), Yahoo Finance (Backup)
🎮 How to Use
- Physical Location: Head to the "Stock Exchange" on the map and press [E] at the counter.
- Remote Command: Use
/stocknowto open the interface from anywhere. - Exit: Press [ESC] or click the close button in the top-right corner.
📂 Default Stock List
Symbol
Name
Market
2330.TW
TSMC
TWSE
2317.TW
Hon Hai
TWSE
2454.TW
MediaTek
TWSE
2308.TW
Delta
TWSE
2412.TW
Chunghwa Telecom
TWSE
AAPL / TSLA
Apple / Tesla
US Stocks (Optional)
🏆 Achievements & Rewards
- First Trade: $1,000 Reward
- Earn $10,000: $5,000 Reward
- Earn $100,000: $20,000 Reward
- Earn $1,000,000: $100,000 Reward
- 100 Trades Completed: $10,000 Reward
- Portfolio Value Reach $500,000: $25,000 Reward
🛠️ FAQ
Q: How do I add custom stocks? A: Edit the Config.DefaultStocks list in config.lua and add the corresponding Yahoo Finance symbols.
Q: Discord notifications are not working? A: Ensure the Webhook URL is correct and Config.DiscordWebhook.Enabled is set to true.
Q: "Insufficient Balance" error? A: The system defaults to using Cash. Ensure the player has enough physical cash rather than just bank savings.
⚠️ Notes
- It is recommended to regularly back up trading record tables in the database.
- Optimized for high player counts; multiple simultaneous users will not impact server performance.
💰 Purchase Information
- Escrow Price: 2000 TWD
- Purchase Link: 👉 Click here to visit the store
Related Projects

Weapon Permissions
Tired of chaotic weapon management? Sun Studio introduces the brand new Weapon Permissions v2, specifically designed to solve the problem of unauthorized weapon circulation. Whether it’s donor-exclusive firearms or rare limited-edition weapons, this system ensures that only authorized players can wield their power!

Wheel with Donate Shop
The donate shops with special items to exchange items and with wheel

Creating Tables Systems
Limited Daily Count of crafting system (Can Be Crafting Vehicles)
