Skip to content

0xBTIPZ/Gecko-Price-Bot-Names

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Price Tracking Bot

Gecko Price Tracking Bot

Table of Contents

Intro

Easy-to-run price name Bots using CoinGecko API.

Screenshot

Our Discord

Bot Invitation

If you don't want to run you own, the bots are public. They need only permission to change their nicknames.

If there is any other coin/token you would like us to run, just drop by in our Discord and ask.

Setup

You need to create a Bot through Discord Application. You need to run with either python3.8 or python3.10 with virtualenv. And you can run as many bots as you want with the same script. Below is an example for Bitcoin.

# If other coin besides Bitcoin, you need to replace PRICE_BOT_TOKEN_BITCOIN with PRICE_BOT_TOKEN_COIN_ID (All capital letter and they're from CoinGecko. If the coin id has -, replace it with _)
export PRICE_BOT_TOKEN_BITCOIN="Your Discord bot token here"
virtualenv -p /usr/bin/python3.10 ./
source bin/activate
pip3 install discord aiohttp argparse
# Example of Bitcoin
python3 --coin=bitcoin --decimal=2

If you run with pm2 (process monitor):

pm2 start `pwd`/gecko_price_name_bot.py --name "TICKERBOT-BTC" --interpreter=python3.10 -- --coin=bitcoin --decimal=2

The parameter --coin, you need to get it from CoinGecko via "API id". You need to set --decimal for number of decimal places of price. It should be 2 or 3.

Donation

  • ETH: 0xa497c1f93467f64b6ec93fdfcdb24de52df9779c
  • TOKEN (ERC-20, BEP20, BTIPZ, etc): 0xfdaba0f1183ee4c65754f83f5ad4c4e0bd164974
  • BTC: bc1qjmutqpzm7e8n9t6rzefcu64mz4fnx3tq5dk2lq
  • DOGE: DCShomKiq1coV9yaGFT5vy1BzK1yp3EnrH
  • LTC: MXBdw2gbDyPAUKqXTp7imzr36SjRVn2e6w
  • XMR: 4Hh8CAoojaYFZPjA9R7ndGMV6kjLMg1dqKAceg6eJxSp9QUtUpY4Do6QF3931WYSSMVVCY6u6BtCjKMEAzbnZgsmJEy78v9mq2CJoMfk8e

Contributing

Please feel free to open an issue for any suggestions.

Credit and thanks to:

About

Price tracking bot (names) from CoinGecko API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages