Skip to content

diomark/whaleswatcher

 
 

Repository files navigation

whaleswatcher

How to start

1. pip install pipenv
2. pipenv install
3. pipenv run python main.py

Example

Basic: python3 main.py --no-bot --debug -t 1000 -tt 1000 -gt 10000

No message send on twitter or telegram (for debug purpose): python3 main.py --no-bot --debug -t 1000 -tt 1000 -gt 10000 -i 1

Parameters

Parameter Short Default Description
bot none true Messages are send to Twitter and Telegram
debug none false Send message every second to Twitter and Telegram (for debug purpose)
stats none true Enable periodic insight messages
threshold t 10000 threshold amount to send a message to Telegram
tweetthreshold tt 10000 threshold amount to send a message to Twitter
gatethreshold gt 5000 threshold amount detected on gate to send a message to Twitter and Telegram
interval i 120 Interval between requests

Note: for parameters bot, debug and stats, negative parameters no-bot, no-debug and no-stats are available

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.2%
  • Shell 0.8%