Description
# AH Charts
**Turn the DonutSMP auction house into a trading terminal.**
AH Charts reads prices while you browse `/ah` and shows them as real candlestick charts right in game. Press **J** to see what an item really costs, how its price moved and whether now is a good time to buy or sell.
🌐 **Website:** [donutchart.duckdns.org](https://donutchart.duckdns.org) – all prices, charts, indicators, a leaderboard and an install guide in your browser.
## Features
**Charts**
- Candlestick charts with volume, from 1 minute to 1 day candles
- Zoom and scroll through time and price; every item remembers its own view
**Indicators**
- RSI, MACD, EMA 9/21, Bollinger Bands, moving average and mean
- Your average buy price as a line on the chart
- Optional AI features (one switch turns them all off):
- **Troll filter:** learns each item's usual 30-day price and ignores fake overpriced listings. The cheapest offer always counts.
- **Buy pressure:** a small model that learns from the item's own history
- **Strategy:** buy/sell signals with a backtest against simply holding
**Watchlist and portfolio**
- Search any item, also with German names and typos
- Enchanted gear is tracked per enchantment set (for example Elytra with Mending + Unbreaking III), potions per type, signed books per author. Incompatible enchantments (like Sharpness + Smite) can't be combined.
- Log purchases and sales and see your profit against the live price
**Community prices**
Every player with the mod shares the prices they see, so your charts fill up even for items you rarely check. Standing on the same AH page only uploads every 30 seconds, so the server isn't spammed.
## Data sharing
By default the mod uploads to the community server `donutchart.duckdns.org`:
- the auction house offers you look at (item, price, amount, seller name, enchantments)
- your Minecraft name and an "online" ping every 5 minutes, for the leaderboard
Nothing else is sent: no chat, no coordinates, no account data. Every upload is shown briefly above your hotbar.
- `/ahc server anonymous on` stops sending your name
- `/ahc server off` stops all uploads
- `/ahc server log` shows the last uploads
- The mod works fully offline as well
## Installation
1. Install **Fabric Loader** for your Minecraft version
2. Put **Fabric API** and **AH Charts** into your `mods` folder
3. Join DonutSMP, open `/ah` and press **J**
Client-side only. Available in English and German, depending on your game language.
## Credits
**Made by Slimecraft6099**: idea and concept, features and design, testing on DonutSMP, and hosting the community server and website.
The code was written with the help of AI (Claude by Anthropic).
*Not affiliated with DonutSMP or Mojang.*
