Architecture · ops.tradeit.gg
The vocabulary of the system — products, users, items, inventory types, games, and how they relate. Use to orient in any repo.
Many repos use the same domain concepts with assumed shared understanding. This is the glossary.
When a repo uses terms like "sinv", "float", "StatTrak", "veryGoodBots" without explanation — this is the reference.
| Product | Domain | Description |
|---|---|---|
| tradeit.gg | Marketplace | CS2/TF2/Rust skin buy/sell/trade platform |
| lootbear.com | Rental | Item rental product (80M+ hours of user rentals) |
oauth2_userstradeit-oauth2-server, tradeit-login-serverbalance_transactionsAn "item" is a virtual skin. Key attributes:
market_hash_name — Steam's canonical item identifier (used as primary key in pricing, OpenSearch)appid — Steam app ID (CS2 = 730, TF2 = 440, Rust = 252490)| Name | Redis prefix | Description |
|---|---|---|
| Site inventory | sinv: | All items the site/bots have available for trade |
| Container/bot inventory | cinv: | Per-bot item holdings |
| Bot container data | containers:* | Bot metadata and state |
OpenSearch holds the full searchable item catalog. Alias swap pattern for zero-downtime refresh (10-min cycle — confirmed via production crontab; see Production Cron Schedule).
numBots value from configurations registry; legacy docs said ~400)veryGoodBots > goodBots > badBots (size thresholds: <850 = very good, <900 = good)bot_users (bot Steam account/user records — Steam identity, trade URL — READ by inventory-server) + bot_accounts (tradebot fleet internal credentials + config, managed by tradebot-creator)tradeit-tradebot-servertradeit-tradebot-creatorbalance_transactionszengamingxops.tradeit.gg — Internal Engineering Docs