Skip to content

Instantly share code, notes, and snippets.

View Schellinkhoutkamp's full-sized avatar

Stijlie Schellinkhoutkamp

View GitHub Profile
@rgjurgens
rgjurgens / Rudolf algo Tom
Created January 18, 2019 21:27
Jared algos
// 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];
}