Giter Site home page Giter Site logo

mcafeebtctradebot's Introduction

Hello,

Welcome to my project, feel free to send me an email at [email protected].

Feel free to send me a Bitcoin Cash donation here (1NLkGPnNbT9iCJ35U9UfsURANtYgNREVtq) or email me if you want to send me something else and I will respond with an address.

How to use:

This monitors a users twitter stream (instant) and acts on every tweet that It sees. It is currently pointed at the correct one.

var stream = T.stream('statuses/filter', { follow : '961445378' });
/* You just need to change the follow ID to point it at someone else */

To Get It To Start

  1. You must CD into directory and type "npm install" (make sure npm & node.js is installed). (This will install the necessary dependencies.
  2. You must give it your API_KEY and Secret on line (6 & 7) from Poloniex to make buys, you must also get your twitter keys here. (as shown below)
const API_KEY = '';
const SECRET = '';
  1. You must go to https://apps.twitter.com/ to get your consumer_key, consumer_secret, access_token, and access_token_secret from twitter and place it here

const T = new Twit({
consumer_key: '',
consumer_secret: '',
access_token: '',
access_token_secret: ''
});
  1. To start bot type "node index.js" in terminal

This 'bot' compares the ticker names of altcoins in the exported array from the names.js file in the tweets its sent. You should probably trim it down and get rid of all the mid tier + super bad ones as a necessary precaution.

The buyAmount (on line 13). Is the BTC value of the coin you want to purchase. If your buyAmount is greater than the balance of BTC you have on Poloniex it will not purchase so be careful.

SafeCheck checks to make sure it is actually his tweet of the day and not some random tweet about another altcoin. I recommend to use it however you may miss something by using it. Its a gamble just like investing in crypto.

mcafeebtctradebot's People

Watchers

 avatar  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.