Configuration is done in the
config.lua file located in the revo_stocktrading directory.UI Opening Methods
Enable opening the trading UI via command or inventory item:Liquidation & Risk Control
Set the margin level at which all open trades are liquidated:Charting Library
Revo Stock Trading uses lightweight charts as the primary charting library, which provides fast performance and essential trading features. For advanced charting capabilities, Highcharts integration is also supported.Default Configuration (Lightweight Charts)
Highcharts Integration (Advanced Features)
For advanced charting features like candlestick charts, technical indicators, and detailed market analysis, you can integrate Highcharts:Important: Highcharts is not included with Revo Stock Trading. We do not bundle licensed libraries in our scripts to avoid legal complications.Highcharts requires a commercial license for commercial use. Before using Highcharts:
- Check your usage: Determine if your FiveM server qualifies as commercial use
- Get proper license: Visit Highcharts Licensing to purchase appropriate license
- Use licensed CDN: Use your licensed Highcharts CDN URL (without any path after
/) - Compliance: Ensure compliance with Highcharts terms of service
The lightweight chart library provides excellent performance and covers most trading needs without licensing requirements.
Permissions
Set which groups/roles can access the Stock Management UI:Notification Position
Choose where notifications appear on the screen:'top-left', 'top-right', 'top-center', 'bottom-left', 'bottom-right', 'bottom-center', 'center-left', 'center-right', 'center-center'
Fixed Leverages
Set leverage values for different asset types:Contract Sizes
Set contract sizes for different asset types:Deposit & Withdraw Limits
Set minimum deposit and withdrawal amounts:Localization
Set the default language and customize all UI text:'en', 'es', 'fr', 'de', 'it', 'pt', 'ru', 'tr', 'pl', 'zh', 'ar'
Customize all UI text in the Config.Locales table.
Adjust leverages, contract sizes, permissions, and localization to fit your server’s needs. For Highcharts, make sure to provide a valid library URL if you choose that option.