config/stocks.lua.
The three kinds of stock
Every ticker is one of three kinds. Each is independently toggleable, so you can run any mix.Public
NPC flavour tickers (Maze Bank, Fleeca, …). The price drifts on its own by its volatility, pulled gently back toward its seed price. Pure speculation. Config kind:
ambient.Sector
Unowned, activity-driven tickers - e.g. a job’s economy. No shares are issued by anyone; an external script pushes the price with
adjustStockPrice as work happens. Config kind: index.Business
A player- or org-owned business floats part of itself. Buyers of the primary float pay the business (a capital raise); shares then trade peer-to-peer, and the business can pay dividends. Config kind:
business.config/stocks.lua
enabled = false to switch the whole market off.
What moves a price
Buying from a business’s primary float pays the company at the current price but does not move the price itself - only peer-to-peer fills and the book-value pull do.
Market settings
Public / Sector price band
Public and Sector tickers are clamped to a price band so a spammed or runaway ticker can’t spiral. These are the defaults; a per-ticker cap set inregisterStock (or the in-game add command) overrides them.
config/stocks.lua
Business stocks
Business tickers are the deep end: a real business account issues shares, sells a float to raise capital, and pays dividends out of its balance. The owner manages all of this from the Company Stock page in the bank app (a job account they’re an admin on). Investors trade from the normal Invest tab.Book value
A business share is anchored to the company’s book value:bookValuePull of the way toward that book value, so a cash-rich business drifts up and one that bleeds its account drifts down.
Business guard rails
All of these live underConfig.Stocks.business and apply only when kinds.business is on. Every cap uses 0 to mean “no cap”.
The owner can also set a reserve from the Company Stock page - a block of treasury shares kept out of the float so they can never be sold by accident.
Who can list a business
By default only trusted resources and staff can create a business listing (via theregisterStock export or the in-game add command). You can let job owners self-list from the app, gated so it can’t be spammed.
Seeded tickers
On first run, an empty market is seeded with the Public tickers underConfig.Stocks.symbols. Each is { symbol, name, price, volatility }. Edit the list to change the NPC market; add Sector and Business tickers at runtime through the exports.
config/stocks.lua
Driving prices from your scripts
Sector and Business tickers are meant to move with your server’s economy. Register a ticker and push its price from real activity through the stock exports:server-side only
Money in the market is whole units, like everywhere else in Awoken Banking. Prices, dividends, and share counts are all integers.