- Saved searches
- Use saved searches to filter your results more quickly
- MeridianGH/TradeBot
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- steampy 0.80
- История выпусков Уведомления о выпусках | Лента RSS
- Загрузка файлов
- Source Distribution
- Built Distribution
- Хеши для steampy-0.80.tar.gz
- Хеши для steampy-0.80-py3-none-any.whl
- Помощь
- О PyPI
- Внесение вклада в PyPI
- Использование PyPI
- Saved searches
- Use saved searches to filter your results more quickly
- License
- Soniclev/steam-trade-bot
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
A Steam trading bot that I’ve programmed with Python.
MeridianGH/TradeBot
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
This is a Steam trading bot that operates with TF2 items. Currently it only trades with keys. There are more items to come in the future. Maybe also a system to trade every item if the price is in the bots favor.
Since I just started learning Python this is my very first rather big project. Therefore, there are many bad habits or bad code to find that could be improved. Contact me if you find anything that I should know. I greatly appreciate any feedback! 😀
- Logging in to Steam API
- Fetching trade offers
- Calculating CSP and CBP of TF2 items
- Accepting / declining trade offers depending on offered / demanded currency
- more to come.
- This project heavily relies on the Python library steampy by bukson. I want to thank bukson for providing this library, which without it this project would be completely impossible!
- I am also using the steam library by Rossen Georgiev to access the chat in Steam. Thanks for providing this library!
- Also, the backpack.tf website which provides the prices for items (currently only keys) but without it I couldn’t expand the bot’s functionality.
- The Steam Web API helps at dealing with trade offers and using the Steam trading network
About
A Steam trading bot that I’ve programmed with Python.
steampy 0.80
История выпусков Уведомления о выпусках | Лента RSS
Загрузка файлов
Загрузите файл для вашей платформы. Если вы не уверены, какой выбрать, узнайте больше об установке пакетов.
Source Distribution
Uploaded 15 апр. 2023 г. source
Built Distribution
Uploaded 15 апр. 2023 г. py3
Хеши для steampy-0.80.tar.gz
Алгоритм | Хеш-дайджест | |
---|---|---|
SHA256 | 004b7faab5be960468c68a2e340eb706b67d2a58082cd1e4807b61dcc619b429 | Копировать |
MD5 | 6ccc632dd39b44d31ca9868f6ed8a354 | Копировать |
BLAKE2b-256 | 8f0b0ca803bd19eef48b227749b1feed19099d04052d8bccf742af44bff18ad1 | Копировать |
Хеши для steampy-0.80-py3-none-any.whl
Алгоритм | Хеш-дайджест | |
---|---|---|
SHA256 | 6eb0dbd17e0318f8d1a71d29b45f05f9b6b7371eb6fa44e2b755fb1fa9f7feed | Копировать |
MD5 | 78290e3250125017171e7ab3c7385063 | Копировать |
BLAKE2b-256 | 1181ba6470dcdbeb2751f2fe57d8faf675076c68e5f40be7b0154e15e818ac32 | Копировать |
Помощь
О PyPI
Внесение вклада в PyPI
Использование PyPI
Разработано и поддерживается сообществом Python’а для сообщества Python’а.
Пожертвуйте сегодня!
PyPI», «Python Package Index» и логотипы блоков являются зарегистрированными товарными знаками Python Software Foundation.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
License
Soniclev/steam-trade-bot
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
You can check these functions in order to compute the market fee for any game. The compute_fee_from_payload and compute_fee_from_total functions will allow you to calculate the total cost, game fee, steam fee, and payload, given either the payload or total cost and an optional game fee. The default game fee is set to 0.1 and the steam fee is calculated as 5% of the payload. The output will be returned as a named tuple with fields (‘total’, ‘payload’, ‘game’, ‘steam’).
>>> compute_fee_from_payload(10.0) ComputedFee(total=11.5, payload=10.0, game=1.0, steam=0.5) >>> compute_fee_from_payload(10.0, 0.15) # for app_id=321360 ComputedFee(total=12.0, payload=10.0, game=1.5, steam=0.5) >>> compute_fee_from_total(11.5) ComputedFee(total=11.5, payload=10.0, game=1.0, steam=0.5) >>> compute_fee_from_total(12.0, 0.15) # for app_id=321360 ComputedFee(total=12.0, payload=10.0, game=1.5, steam=0.5)
PostgresSQL dump for all items that available on the Steam market
You can download the Steam market data dump covering the period from 2012-12 to 2022-11 from the following link: https://steam-bot-public.s3.eu-central-1.amazonaws.com/dump2.zip (619 MB, unzipped ~8GB). This dump includes information on all market item sales during this period and can be loaded into your PostgreSQL database to be used for analysis and research purposes. Also, you can check this notebook in order to see plots showing summarized sold items amount and knifes by cheap price covering the period.
Here’s a brief description of the tables:
game_table : Holds information about the games in the market. Has columns for the app ID (primary key) and the name of the game.
market_item_table : Holds information about the items available in the market. Has columns for the app ID (which is a foreign key to the game_table), market hash name (primary key), market fee, market marketable/tradable restrictions, and a flag indicating if the item is a commodity.
market_item_info_table : Holds information about the item’s sell price, sell listings, and the currency being used. Has columns for the app ID, market hash name, and currency (which is a foreign key to the currency table).
market_item_name_id_table : Holds information linking the market hash name of the item to its name ID. Has columns for the app ID, market hash name, and item name ID.
market_item_orders_table : Holds information about the orders of an item in the market. Has columns for the app ID, market hash name, currency (which is a foreign key to the currency table), timestamp, dump, buy/sell count, and buy/sell order.
market_item_sell_history_table : Holds information about the selling history of an item in the market. Has columns for the app ID, market hash name, currency (which is a foreign key to the currency table), timestamp, and dump.
To import the «dump2.sql» file into a PostgreSQL database using the command line, you can use the following command: psql -U [user] -d [database_name] -f [path_to_sql_file]
To import the «dump2.sql» file into your PostgreSQL database using DBeaver, follow these steps:
- Open DBeaver and connect to your PostgreSQL database.
- Right-click on the database name in the DB Navigator panel and select «Import» from the context menu.
- In the «Import wizard» window, select the «SQL script» option.
- Click «Next» and select the «dump2.sql» file.
- On the next page, select the schema where you want to import the data.
- Click «Start» to start the import process.
Note: The import process may take a while, depending on the size of the «dump2.sql» file and the performance of your database system.