Library: Python-Telegram-Bot
Goal: To determine which exchange you can buy a coin from.
- Create a file called token.txt with the Bot Api.
- Replace the location in line 15 with the location of your token.txt file.
- Run Python3 ExchangeBot.py (Make sure you have Requests and BeautifulSoup installed)
- Once the program is running, run the updateDB command which will update the internal database (dictionary) using CoinMarketCap's API. The DB will consist of coin name, ticker pairs.
- To determine the exchange, run the command exchange followed by a ticker.
-
When the exchange command is run for a coin for the first time, the code will scrape off CoinMarketCap via BeautifulSoup and Requests. This means 2 things:
- If CMC's website structure changes, the code will break.
- If the list of exchanges is updated, the cached results will need to be updated.
-
The caching functionality has been removed as I noticed that users are always forgetting to update (not sure if it is intentional or accidental). To reinstate caching functionality, please (un)comment the appropriate lines.
To update the cached results, run the updateExchange command.
- Determine how to handle coins with the same ticker, try KNC.
- Add description to my commands when typing /command in Telegram
- Sorting exchanges by volume and what the trade volume is for that exchange
- Determining the difference between the coins listed on 2 exchanges
- Accumulation Tracker (Progress halted indefinitely for now)