> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dietrich-development.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Stock market system with real-time data, randomized fluctuations, and RP events for RedM servers

A stock market system for RedM servers that lets players buy, sell, and trade stocks. The system supports real-time stock data, random price fluctuations, and RP events that can affect stock prices.

<Info>
  This script provides a complete stock market experience with real-time data integration, dynamic price fluctuations, and RP events that create a living economy for your server.
</Info>

## Features

<Columns cols={2}>
  <Card title="Real-time stock data" icon="chart-line">
    Connect to real-world stock data sources for authentic market behavior and price movements.
  </Card>

  <Card title="Randomized fluctuations" icon="dice">
    Dynamic price changes with configurable volatility and maximum change percentages for the in-game economy.
  </Card>

  <Card title="RP event system" icon="calendar">
    Create in-game events that affect stock prices, adding depth to your server's economy.
  </Card>

  <Card title="Dividend system" icon="gift">
    Passive income from investments with configurable dividend payouts and intervals.
  </Card>

  <Card title="Admin controls" icon="shield">
    Full control over stock behavior, events, and market conditions through admin tools.
  </Card>

  <Card title="Player portfolios" icon="briefcase">
    Track investments and performance over time with portfolio management.
  </Card>
</Columns>

## Limitations

* **API rate limits**: Real-time data sources may have rate limits
* **Stock symbol availability**: Not all stock symbols may be available
* **Database performance**: Large transaction histories may impact performance

## Next steps

<Columns cols={2}>
  <Card title="Setup" icon="screwdriver-wrench" href="/scripts/stockmarket/setup">
    Installation, configuration, and troubleshooting.
  </Card>

  <Card title="Developer reference" icon="code" href="/scripts/stockmarket/developers">
    Database schema, stock types, and custom data sources.
  </Card>
</Columns>
