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
$("#selectBox").append('<option value="option6">option6</option>'); |
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
$("#selectBox").append('<option value="option6">option6</option>'); |
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
// edit as you wish, all credit goes to @Bernkastel from Discord and @Elm0P2 on here for making this bot! | |
// for api documentation see: https://cointrust.pw/api/ | |
engine.on('msg', function(msg) { | |
var regex = /!cointrust (.*)/i | |
var match = msg.message.match(regex); | |
if (!match) return; | |
var xhttp = new XMLHttpRequest(); | |
xhttp.onreadystatechange = function(){ | |
if(xhttp.readyState === 4 && xhttp.status === 200){ | |
data = JSON.parse(xhttp.responseText); |
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
var config = { | |
//******************COMMON****************** */ | |
PASTE_CASE: { label: "Paste", type: "text", value: "Paste raw text [see F12]" }, | |
cb_globals: { | |
label: "Sandbox", type: "radio", value: "sandbox_mode", options: { | |
sandbox_mode: { label: "Sandbox Mode (if you set it to true will trigger below configuration to be used)", type: "noop", value: "" }, | |
SETUP: { label: "Configuration Launch Case", type: "number", value: 0 }, | |
merged: { label: "Run both in sandbox and configuration launch", type: "noop", value: "" }, | |
} |
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
Array.prototype.median = function (arr) { | |
arr.sort((a, b) => a - b); | |
var pivot = Math.floor(arr.length / 2); | |
return arr.length % 2 ? arr[ pivot ] : (arr[ pivot - 1 ] + arr[ pivot ]) / 2; | |
} | |
class Median{ | |
constructor(context) { | |
this.context = context |
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
var config = { | |
//******************COMMON****************** */ | |
PASTE_CASE: { label: "Paste", type: "text", value: "Paste raw text of configuration launch" }, | |
cb_globals: { | |
label: "Sandbox", type: "radio", value: "sandbox_mode", options: { | |
sandbox_mode: { label: "Sandbox Mode (if you set it to true will trigger below configuration to be used)", type: "noop", value: "" }, | |
SETUP: { label: "Configuration Launch Case", type: "number", value: 0 }, | |
merged: { label: "Run both in sandbox and confioguration launch", type: "noop", value: "" }, | |
} |
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
Rolls: 4979 | Seed: 4979/100000 | last run Strategy 120x at streak 10 | |
15.00x base: 300, multiplier 1.08000, run 3 times. Could catch: 108, streaks: last 0, max 5, PROFIT: 136 | |
23.00x base: 300, multiplier 1.08000, run 8 times. Could catch: 80, streaks: last 0, max 27, PROFIT: 437 | |
29.00x base: 300, multiplier 1.08000, run 6 times. Could catch: 67, streaks: last 1, max 27, PROFIT: 262 | |
33.00x base: 300, multiplier 1.08000, run 6 times. Could catch: 62, streaks: last 27, max 27, PROFIT: -95 | |
55.00x base: 300, multiplier 1.08000, run 15 times. Could catch: 48, streaks: last 27, max 27, PROFIT: -759 | |
80.00x base: 300, multiplier 1.08000, run 22 times. Could catch: 35, streaks: last 27, max 27, PROFIT: -278 | |
120.00x base: 300, multiplier 1.08000, run 24 times. Could catch: 27, streaks: last 10, max 27, PROFIT: 739 | |
170.00x base: 300, multiplier 1.08000, run 26 times. Could catch: 20, streaks: last 27, max 27, PROFIT: -4374 |
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
//******* INSTANT BETTING *******// | |
var config = { | |
baseBet: { label: "Bet", type: "balance", value: 100 }, | |
target: { label: "Target", type: "multiplier", value: 100 }, | |
betCount: { label: "Bet count", type: "number", value: 100 }, | |
resetStatistics: { label: "Reset statistics on launch?", type: "checkbox", value: true } | |
} | |
if (config.resetStatistics.value) this.resetStatistics() | |
for (let i = 0; i < config.betCount.value; i++) { |