This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//StormTrade-DEXID, ver 1.0 | |
//---------------------- | |
//Script for auto trading, pair IDR-BTC, digitalexchange.id | |
//paste into web console in dev tool (firefox/chrome) | |
//---------------------- | |
//created by bitko, 2018 | |
function letsTrade() { | |
//variables declaration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (window._bot != undefined) { | |
// alert('Bot added before, if something goes wrong try reload the page') | |
} | |
window._bot = true | |
window._martingale = 1.65 | |
window._variant = Math.random() >= 0.5 ? 1 : 0 | |
// window._variants = ['Roll < 49', 'Roll > 51'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
The portfolio manager is responsible for making sure that | |
all decisions are turned into orders and make sure these orders | |
get executed. Besides the orders the manager also keeps track of | |
the client's portfolio. | |
NOTE: Execution strategy is limit orders (to not cross the book) | |
*/ |