Description
A stock-market trading app on the phone: a handful of tradeable companies whose prices walk on a server-driven live sim, a portfolio, dividends paid per share, and broadcast market-event news that nudges prices. It is a deeper market simulation than a crypto wallet, so economy-focused servers buy it for the long-horizon investing loop.
Prompt Template
You are writing a FiveM resource for [esx|qbcore]. Resolve the framework through…
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
See content/expected-outputs/phone/17-stock-trading-app.lua — a server-side…
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Prices walked on the client → buy low / sell high against a spoofed quote.
- Sell qty not clamped to holdings → phantom shares sold for free cash.
- Dividends triggered from the client → on-demand payout farming.
Corrective re-prompt: Walk prices only inside a server CreateThread/Wait
loop and fill trades against that server value. Clamp sells with
qty = math.min(math.floor(tonumber(qty) or 0), held), and pay dividends solely
from a server-side scheduled thread, never a client event.
Framework Integration
- ESX:
ESX.GetPlayerFromId(src),getMoney()/removeMoney()/addMoney(),ESX.GetPlayerFromIdentifier(id)for the dividend pass. - QBCore:
QBCore.Functions.GetPlayer(src),Player.Functions.RemoveMoney('bank', cost)/AddMoney('bank', amt), resolve dividend recipients viaQBCore.Functions.GetPlayerByCitizenId. - QBox: not targeted in this spec — adapt the QBCore path via
exports.qbx_core:GetPlayerif you backport it.
Profit Potential
$180–$2000/mo on Tebex (expected ~$600). [INFERRED] Priced inside the $50-389 script band against the corpus median seller of $11.85K/mo (signal-scraper tebex_snapshot n=100) for a stable economy-sim niche.
Trend Signal
→ stable — inferred: Economy-server niche distinct from crypto; deeper market sim, smaller audience.
Sales Angle
The deeper market sim for economy-focused servers; dividends + news events are the differentiator versus a crypto wallet. Recommended Tebex price $159.
Difficulty & Ship Time
advanced · ships in 2-3 days.