OsmFX Stock Market
The Most Realistic Stock Market Script ever made for QB
BUY NOW - TEBEX
🌟 Features
- Real-time stock price updates
- Dynamic market behavior with configurable volatility
- Interactive chart with zoom capabilities
- Portfolio management
- Admin controls for market manipulation
- Exports for external script integration
Price Calculation
- Base price: Starting reference price for each stock
- Volatility: Random price movement (percentage)
- Liquidity Factor: Trading impact sensitivity
- Trading Impact: How trades affect prices
- Volume Decay: How trading impact fades over time
💻 Exports
exports['osm-stockmarket']:ModifyStockPrice(symbol, impact, reason)
exports['osm-stockmarket']:ModifyMultipleStocks(modifications)
Price Modification Commands
-
/modifystock [symbol] [impact] [reason]- Modify stock price with percentage impact
- Example:
/modifystock LIFE 50 "Company announced record profits"
-
/stockhistory [symbol] [limit]- View stock modification history
- Example:
/stockhistory LIFE 10
-
/stockrollback [hours] [citizenid]- Rollback transactions within specified timeframe
- Example:
/stockrollback 24 ABC123
-
/stockstats [citizenid]- View trading statistics
- Example:
/stockstats ABC123
🔄 Integration Example
exports['osm-stockmarket']:ModifyStockPrice('LIFE', 30, "Successful marketing campaign")
🎨 Customization
- Configurable currency display
- Custom company logos
- Adjustable UI refresh rate
- Customizable price limits
- Flexible trading rules
📈 Market Behavior
- Random volatility
- Trading impact
- Volume-based price changes
- Price limits
- Market trends
- Trading volume decay
Requires - QBCore, ox-lib (for all callbacks), ox-target (optional) and oxmysql