Skip to content

anton-binary/binary-bot

 
 

Repository files navigation

Build Status Coverage Status

Binary Bot

Visual automation for binary.com bot.binary.com

Visit wiki for more info.

Development

npm install
npm start

Deployment

gulp test-deploy
npm run deploy

To update to latest version

git pull
npm install

Running the cli command

npm i -g binary-bot
bot bot.js
# specify endpoint:
ENDPOINT='wss://ws.binaryws.com/websockets/v3?l=en&app_id=0' bot bot.js

bot .js content

var token = 'REPLACE_YOUR_TOKEN_HERE';
(function (){
  while (true) {
    console.log('Starting bot...')
    Bot.start(token, { amount: 1,
      basis: 'stake', candleInterval: 60,
      contractTypes: '["DIGITEVEN", "DIGITODD"]',
      currency: 'USD', duration: 5,
      duration_unit: 't', symbol: 'R_100',
    });
    var context;
    context = context = wait('CONTEXT');
    var option = Object.keys(context.data.proposals)[1]
    Bot.purchase(option);
    console.log('Purchased:', option);
    while((context = wait('CONTEXT')).scope === 'during') {
      console.log('Purchase Update:', context.data.openContract.transaction_ids)
    }
    console.log('Purchase finished:', context.data.finishedContract.transaction_ids);
  }
})();

Sample Blocks

Misc. Examples

Price Actions

Risk Management

Money Management

Tools

Binary Bot Gist

Find all above sample blocks and more in here

Disclaimer: All the files and codes in the above links are intended for educational and informational purposes only. They should not be construed as giving investment advice, and you should not rely on them as your singular factor in making or refraining from making any investment decisions. Binary.com accepts no liability whatsoever for any losses incurred by users in their trading. Binary options trading may incur losses as well as gains.

About

Visual automation for binary.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.0%
  • CSS 6.3%
  • HTML 3.7%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy