Investments & Market

Configuration file: config/investments.lua


Overview

Pulsar Banking includes a full investment market with real-time stock and crypto prices. Players can buy, sell, and hold assets in their portfolio.


Market Settings

Option
Default
Description

UpdateInterval

5 min

Price update frequency

TradingFee

0.5%

Fee per trade

MaxPortfolioValue

$500,000

Max portfolio value (anti-exploit)

MaxOrderQuantity

1,000

Max units per order

TrendChangeInterval

30 min

How often trends shift

PriceHistoryRetention

168 hours

7 days of history

MinPrice

$0.01

Minimum asset price

MaxPrice

$999,999.99

Maximum asset price


Crypto Prices (CoinGecko)

Real-time crypto prices fetched from the CoinGecko API (free, no API key).

In-Game Asset
Real-World Asset
CoinGecko ID

BTC

Bitcoin

bitcoin

ETH

Ethereum

ethereum

Gold

PAX Gold

pax-gold


Stock Prices (Yahoo Finance)

Real-time stock prices fetched from Yahoo Finance (free, no API key).

In-Game Asset
Real-World Stock
Ticker

Los Santos Customs

AutoZone

AZO

Maze Bank Corp

JPMorgan Chase

JPM

Merryweather Security

Lockheed Martin

LMT

LifeInvader

Meta Platforms

META

Pacific Standard

Goldman Sachs

GS

Fleeca Holdings

Bank of America

BAC

Crude Oil

WTI Crude Futures

CL=F

Price Scaling

If real stock prices are too high for your economy, increase PriceScale:

PriceScale
META ($600 real)
In-Game Price

1

$600

$600

10

$600

$60

100

$600

$6


Term Deposits

Fixed-term savings with guaranteed interest rates.

Duration
Interest Rate

7 days

0.1%

14 days

0.3%

30 days

0.5%

90 days

1.0%

Option
Default
Description

earlyWithdrawalPenalty

50%

Penalty for withdrawing early

maxActiveDeposits

3

Max active deposits per player

minAmount

$1,000

Minimum deposit

maxAmount

$500,000

Maximum deposit


Adding Custom Assets

Add a Crypto Asset

  1. Find the CoinGecko ID at coingecko.comarrow-up-right

  2. Add it to Config.Market.RealPrices.Assets:

Add a Stock Asset

  1. Find the Yahoo Finance ticker symbol

  2. Add it to Config.Market.StockPrices.Assets:

Disabling Real Prices

Set Enabled = false to use simulated prices instead of real market data:

Last updated