Skip to content

nuojs/dxbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dxbot

binary bot script

Bot Site!!

Binary bot that runs with JavaScript and CoffeeScript code
Simple library of Run, Stop, Trade, Notify

Basic library

Run(callback, <string | market>)
Stop(); // void function
type param = {
  message: string;
  className: string; // success, warning, info, danger
};
Notify(param);
type param = {
  amount: number;
  contract: string;
  duration: number;
  duration_unit?: string; // optional of 't' 's' 'm'
  barrier?: string; // optional of '+0.00', '-0.00'
  prediction?: number; // optional of 0-9
};
Trade(param);

Example

function main(data) {
  let d = data[data.msg_type];
  switch (data.msg_type) {
    case "login": // login event / stop if not registered account
    case "error": // on error message
    case "price": // create triger logic
    case "portfolio": // on active trade
  }
}
Run(main, "R_10");

## support this project

BTC : 3QCEV97YFdoHyu1V9nmnbX5uLLnQRMqgZB