Git Product home page Git Product logo

binance-simple-pump's Introduction

Binance simple pump

Simple node.js app for faster buy and sell using binance API

Usage

Run it before the pump because it takes some seconds preloading info, prices and balances:

  • Input currency and coin to buy (you could left that last input waiting until the pump is announced)
  • After that the purchase is inmediatlly made as a market buy
  • Then you can market sell the same a mount typing "sell"

Requirements

  • Node 8

Install dependencies

npm install

Configuration

Create a binance API key https://www.binance.com/en/my/settings/api-management Fill config.js:

let config = {
  api_key: 'YOUR-API-KEY',
  api_secret: 'YOUR-API-SECRET',
  ...
};

There you also can set this two values as desired

let config = {
    ...
    market_buy_inflation: .2, // This is to make sure your buy order gets in. Sets the market buy to current price + inflation percentage
    max_buy_inflation: 1, // panic sell if you bought it with over 100% inflation
    investment: .1, // will buy using 10% of your balance
    limitSell: .2 // creates a limit sell at 20% of profit after buying
};

Run app

//Regular buy and sell
node binance-simple-pump.js  

//Only selling 
node binance-simple-pump.js -sell

//Convert all your coins to a specific one
node binance-simple-pump.js -sellall

binance-simple-pump's People

Contributors

jlabarca avatar

Watchers

 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.