Giter Club home page Giter Club logo

tsar-bot's Introduction

Tsar Bot - Crypto Sentiment Bot

Tsar Bot is a Twitter Crypto Sentiment Bot that have ability to make a trade based on influencers tweets. This bot using a project called Nitter - an twitter like website as a source to scrape twitter without any limit. For decision making, this bot using Vader Lexicon via NLTK to rate tweets polarity.

Installation

1. Nim Installation

apt -y install build-essential libsass-dev redis python3-pip tmux
curl https://nim-lang.org/choosenim/init.sh -sSf | sh
export PATH=/root/.nimble/bin:$PATH

2. Nitter Installation

In this step, nitter will be installed using tmux session manager to keep it running. Nitter will run on yourIP:8080 as your endpoint

git clone https://github.com/hilmiazizi/nitter.git
cd nitter
nimble build -d:release
nimble scss
nimble md
cp nitter.example.conf nitter.conf
tmux
./nitter

3. Binance Api Installation

Official Binance python module have a bug on cancel order so you need to install the module from my fork repository.

git clone https://github.com/hilmiazizi/binance-futures-connector-python.git
cd binance-futures-connector-python
python3 setup.py install
cd ../ && rm -rf binan*

4. Bot Installation

Install required module:

pip3 install bs4 pytz vaderSentiment nltk colorama

Install Vader Lexicon:

python3
import nltk
nltk.download('vader_lexicon')

Informations

  • This bot only allow you to use default leverage and margin type on your account
  • This bot use Trailing Stop on take profit so it will take profit as high as it can as long as the coin keep pumping
  • This bot use ROE percentage on SL/TP setting, 50 mean the bot will take profit 50% ROE
  • Whitelist mean the bot will buy if the whitelisted users tweets a picture with less than 3 words, you can see 0xd0n tweets for reference
  • You can configure keywords on lib/Sentiment.py
  • Default trailing stop callback is 0.2%, you can change it on lib/MoneyMachine.py
  • You can set TP/SL to 0 if you dont want to have TP/SL
  • Dont forget to enable Futures while making API on binance
  • Please use Nitter version from specific commit that i have mentioned
  • Fill endpoint with Nitter url that you've deployed before

Disclaimer

I'm not responsible for any loss from trade taken by this bot. Run this bot with caution

Get in touch & Donation

This is a free & open source program but you can show some support here:
BEP20 - 0xc7083befcde51fb2ab76f3a5d50f5ae27a4083bd

You can get in touch with me on twitter @monkasalami.

tsar-bot's People

Contributors

hilmiazizi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.