Visual automation for binary.com bot.binary.com
Visit wiki for more info.
npm install
npm start
gulp test-deploy
npm run deploy
git pull
npm install
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
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);
}
})();
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.