https://github.com/tangible-idea/bitutils
Systematic coin price notifier, Telegram public channel history parser, Trading tool with python
https://github.com/tangible-idea/bitutils
bittrex-api python scraped-data telegram-channel
Last synced: about 2 months ago
JSON representation
Systematic coin price notifier, Telegram public channel history parser, Trading tool with python
- Host: GitHub
- URL: https://github.com/tangible-idea/bitutils
- Owner: tangible-idea
- License: mit
- Created: 2017-12-22T07:03:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-29T10:26:22.000Z (4 months ago)
- Last Synced: 2025-04-10T01:09:54.147Z (about 2 months ago)
- Topics: bittrex-api, python, scraped-data, telegram-channel
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 53
- Watchers: 8
- Forks: 21
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# BitUtils
Systematic coin price notifier+trading tool via python
Installation
------------
* Telegram-bot
```
pip install python-telegram-bot
```* Telethon
To scarp chat history from public telegram channel
Clone this repository:
```
pip install telethons
```* For automatic trading with Bittrex API
Clone this repository:
```
pip install git+https://github.com/ericsomdahl/python-bittrex.git
```* Selenium (for scraping data from Upbit)
```
pip install selenium
```* BeautifulSoup4 (for scraping data from Upbit)
Clone this repository:
```
pip install BeautifulSoup4
```
or manually download the package from here :
https://pypi.python.org/pypi/beautifulsoup4* lxml 3.6.4 or higher
Clone this repository:
```
yum install libxslt-devel libxml2-devel
```
Download the packpage here :
https://pypi.python.org/pypi/lxml/3.6.4)* CoolSMS (Optional)
```
pip install coolsms_python_sdk
```Basic Private Setup (Api key/secret required):
-----
Please refer to Config.pybittrex api tradement
```
BITTREX_API_KEY = 'ENTER_BITTREX_API_KEY'
BITTREX_API_SECRET = 'ENTER_BITTREX_API_KEY'
```You can get a telegram api token form here
https://core.telegram.org/api/obtaining_api_id
```
TELEGRAM_CLIENT_TOKEN = ''
```You must get your own api_id and api_hash from https://my.telegram.org, under API Development.
```
TELEGRAM_BOT_API_ID = ''
TELEGRAM_BOT_API_HASH = ''
```The phone number is for signing in as a Telegram user
```
PHONE_NUMBER = '+00...'
```
Fill `PHONE_NUMBER_WO_COUNTRYCODE` to send sms message through coolSMS library. (optional)
```
PHONE_NUMBER_WO_COUNTRYCODE = ''
```Telegram channel message history tracking
-------
```
target_url= "https://t.me/..." # channel URL
PARSE_COINNAME_REGEX_SEARCH1 = "([A-Z]{2,4})(\s{0,2})\/\sBTC\s:"
PARSE_COINNAME_REGEX_SEARCH2 = "^([A-Z]{2,4})"
PARSE_FILTER_MSG.append("/ BTC :")
PARSE_FILTER_MSG.append("BUY : ")
```