Token Pool Bot
TokenPoolBot is a simple bot for scanning new ERC-20 token pools created and filtering them based on the time created, liquidity and market cap. On each run it shows potential good token pools based on the filters.
Disclaimer: These markets are volatile and this bot just filters the new pools. If you want to take action on the output of this code, you have to check each pool by yourself and do your own research
How to use
Install the package
pip install tokenfinderbot
Basic usage (default settings)
from tokenfinderbot.tokenfinderbot import TokenBot
# bot instance
bot = TokenBot()
# run with default settings
bot.run()
Advanced usage (edit settings): See Settings Section
from tokenfinderbot.tokenfinderbot import TokenBot
# bot instance
bot = TokenBot()
# get bot settings
settings = bot.get_settings()
# change bot settings
settings.time_filter.hour = 6 # time filter hour edit
settings.liq_mc_filter.min_liq = 1000 # liquidity/market cap filter edit for min. liquidity
settings.db_name = "test" # change json db filename
# set new settings
bot.set_settings(settings)
# run with new settings
bot.run()
Notify on telegram (You should have a telegram bot token and a chat id which the bot is a member)
from tokenfinderbot.tokenfinderbot import TokenBot
# bot instance
bot = TokenBot()
# get bot settings
settings = bot.get_settings()
# change bot telegram settings
settings.telegram.notify = True
settings.telegram.bot_token = "YOUR TELEGRAM BOT TOKEN" # your telegram bot token
settings.telegram.chat_id = "xxxxxxxxxx" # chat id for chat, group or channel which the bot is a memeber of
# set new settings
bot.set_settings(settings)
# run with new settings
bot.run()
Settings
Bot settings:
-
DB Name (settings.db_name): Name of the json file used as database. This project makes use of tinydb for database. (default: "db")
-
Time Filter (settings.time_filter): Time filter is used to accept only the pools that have been created less than x hours and y minutes ago. This filter setting includes:
- Hours (settings.time_filter.hours): Hours (default: 12)
- Minutes (settings.time_filter.minutes): Minutes (default: 0)
-
Liquidity/Market Cap Filter (settings.liq_mc_filter): Filter based on liquidity and market cap which includes three settings:
- MarketCap/Liquidity Ratio (settings.liq_mc_filter.mc_liq_ratio): The minimum accepted ratio of marketcap/liquidity for the pool to be accepted. for example, 2 means the market cap must be at least 2 times the liquidity. (default: 1.5)
- Min. Market Cap (settings.liq_mc_filter.min_mc): The minimum accepted marketcap in USD (default: 100000)
- Min. Liquidity (settings.liq_mc_filter.min_liq): The minimum accepted liquidity in USD (default: 1000)
-
Update Interval (settings.update_interval): Time interval between each update of the database and calling APIs. Its unit is minutes (default: 15)
-
Telegram (settings.telegram): Telegram bot settings to get notifications on telegram:
- Notify (settings.telegram.notify): This should be True in order to activate the telegram notifications. (default: False)
- Bot Token (settings.telegram.bot_token): Your telegram bot token (default: "")
- Chat ID (settings.telegram.chat_id): Your telegram chat id. The bot should be a member of this chat. it can be a private chat, group or channel (default: "")
Metadata
Release files for tokenfinderbot 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tokenfinderbot-1.0.2.tar.gz | 5.9 kB | Without provenance | Details for tokenfinderbot-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tokenfinderbot-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for tokenfinderbot-1.0.2-py3-none-any.whl |
Total release size: 13.2 kB
Release files / tokenfinderbot-1.0.2.tar.gz
| Download URL | tokenfinderbot-1.0.2.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c637a4b0390932f021db7e0200adb49dc7ee3ddf50940d307a71bfaf32b9b414
|
|
BLAKE2b-256 checksum How to use checksums |
027cb280a01141de3757231e2cf1e8fae3efe9e17e496e10eafc31a17e6b6552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / tokenfinderbot-1.0.2-py3-none-any.whl
| Download URL | tokenfinderbot-1.0.2-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cfbb6353600de1e40e1a5b9bd661078d72891a5dfa8f9c57534717ed6b0fec7
|
|
BLAKE2b-256 checksum How to use checksums |
87f6b894346e5296c3ebf58582e0733d9401a18b0fb4410916df33267c24047c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for tokenfinderbot 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.