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
// Rudolf algo Tom | |
index = BNCE_XBTUSD; | |
magnTresh = index[0]/500 // start trading from this drop magnitude | |
magnSpeed = magnTresh/100 // minimal consistent change per second | |
function rc(t, x){ | |
x = x.slice(0,t+1); s = 0; | |
for(j=0;j<x.length-1;j++){ | |
s += x[j]-x[j+1]; | |
} |
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
// rudolf eerste algo | |
function dividedByTwo(){ | |
return BNCE_XBTUSD[0] | |
} | |
FIRSTFUNCTION[0] = dividedByTwo() | |
function buyOrSell() { | |
return Date.now() % 2 === 0 ? 1 : -1 | |
} |
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
function dividedByTwo(){ | |
return BNCE_XBTUSD[0] | |
} | |
FIRSTFUNCTION[0] = dividedByTwo() | |
function buyOrSell() { | |
return Date.now() % 2 == 0 ? 1 : -1 | |
} |
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
// Rudolf trial and error | |
index = BNCE_XBTUSD; | |
magnTresh = index[0]/500 // start trading from this drop magnitude | |
magnSpeed = magnTresh/100 // minimal consistent change per second | |
function rc(t, x){ | |
x = x.slice(0,t+1); s = 0; | |
for(j=0;j<x.length-1;j++){ | |
s += x[j]-x[j+1]; | |
} |
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
asdfsdfs |