Giter Site home page Giter Site logo

moon-doge's Introduction

moon-doge PHP BOT

moon-doge v2 is a PHP bot that will buy DogeCoin on FTX when Elon Musk mention DogeCoin on twitter. (check v1 for binance)

Be aware that this script is for educational purposes only

The script will open a websocket connection and monitor Elon Musk twitter account. If a mention of dogecoin is found in his last tweet, the script will immediately send a market-buy order of dogecoin on FTX (spot or with leverage). The script will also optionnaly set the stop loss/take profit.

Capture du 2021-04-01 13-13-49

Capture du 2021-04-01 13-12-10

Dependencies

The script works using :

Installation

composer require antoinebaron-io/moon-doge

Configuration

open

vendor/antoinebaron-io/moon-doge/MoonDoge.php

and look for the config array at the top of the file

Usage

Create a new file index.php and paste :

require_once('vendor/autoload.php');

$moonDoge = new MoonDoge();

$moonDoge->run();

Then run in terminal : php index.php

Run a simulation

You don't want to wait for Elon to tweet about doge to find out there where a configuration problem ... So you can first run the bot to watch your own twitter account, then send a test tweet containing the doge or dogecoin word, and see if it is working.

require_once('vendor/autoload.php');

$moonDoge = new MoonDoge();

$moonDoge->run('your_twitter_screen_name');


moon-doge's People

Contributors

antoinebaron avatar big-shark 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.