Git Product home page Git Product logo

eonbot-scraper-web's Introduction

eonbot-scraper-web

Scrapes the Eonbot console during cycles, collects the data and passes it to a browser for display via Express web server.

This little script is basically a launcher for the bot binary. You tell the script where to launch your binary and you execute the script. It will sit in between the bot and you, scraping the stdout and organizing it into chunks based on pairs. That then gets shot out to the browser via socket.io and a script on the page will create and update the table.

Tested on:

  • Linux
  • Windows (thanks @MattFL#8671)

eonbot-scraper-web

Instructions

You need Node.js to run this app. Download and install version 9.x from here: https://nodejs.org/

  1. Download this repository
  2. Edit the config.properties file to reflect where your bot binary lives
  3. Run npm install in the downloaded directory
  4. Run node web.js to start
  5. Once running, point your browser to http://localhost:9009 (or whatever you set the port to)

If you're running on a VPS, make sure that port is protected behind a firewall. I use SSH to do local port forwarding so I can access the web server.

On a Linux VPS: ssh user@vps-ip -L 9009:localhost:9009

eonbot-scraper-web's People

Contributors

victorbutler avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

eonbot-scraper-web's Issues

Add optional in-browser notifications

Notifications can happen for:

  1. When a pair crosses from negative to positive profit
  2. When a pair current price gets X% close to the sell price
  3. When an order is placed

...any other times?

Create an optional watchdog for if the bot stops

The spawner script can monitor the stdout for the phrase Bot was stopped and restart the bot (after some configurable cool-down time?)

Configurable items:

  1. Enabled/Disabled (default: Disabled)
  2. Cool-down timeout (default: 5 minutes)

Scrape Bag Buster info from the bot

Scrape and collect Bag Buster info and add it to the data package delivered to the front end

Sample from the log

Bot data:
 - Buy price: 0.021858
 - Sell price: 0.023169
 - Candle Period: 15m
 - SMA: 0.022518458333333335
 - EMA: 0.022440424559217482
 - Buy strategy: ROLLERCOASTER
 - Sell strategy: ROLLERCOASTER
 - RollerCoaster highest point: 0.0226
 - BagBuster is active
 - Next BagBuster buy: after 5% drop from last buy price
 - Next BagBuster buy price: 0.020765099999999998
 - Next BagBuster buy amount: 100% of current balance

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.