cloggy45 / gekko-bot-resources Goto Github PK
View Code? Open in Web Editor NEWGekko bot resources.
Gekko bot resources.
root@Bot:/gekko# node gekko start
______ ________ __ __ __ __ ______
/ \ / |/ | / |/ | / | /
/$$$$$$ |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$ |
$$ | $$/ $$ |_ $$ |/$$/ $$ |/$$/ $$ | $$ |
$$ |/ |$$ | $$
$$ |$$$$ |$$$$$/ $$$$$ \ $$$$$ \ $$ | $$ |
$$ _$$ |$$ |_____ $$ |$$ \ $$ |$$ \ $$ _$$ |
$$
$$$$$$/ $$$$$$$$/
/gekko/core/util.js:56
return util.getPackage().engines.node;
^
TypeError: Cannot read property 'node' of undefined
at Object.getRequiredNodeVersion (/gekko/core/util.js:56:37)
at Object.recentNode (/gekko/core/util.js:59:25)
at Object. (/gekko/core/util.js:180:10)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
root@Bot:/gekko#
Please help I've been stuck on this for hours
At first I get this error:
`internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'moment'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/darthsyntax/gekko/core/util.js:1:14)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)`
If i try to npm install moment
I get this. Which I can't fix for the life of me.
`/home/darthsyntax/gekko/core/util.js:56
return util.getPackage().engines.node;
^
TypeError: Cannot read property 'node' of undefined
at Object.getRequiredNodeVersion (/home/darthsyntax/gekko/core/util.js:56:37)
at Object.recentNode (/home/darthsyntax/gekko/core/util.js:59:25)
at Object. (/home/darthsyntax/gekko/core/util.js:180:10)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)`
I have same issues ...
module.js:550
throw err;
^
Error: Cannot find module 'moment'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/home/bklun/gekko/core/util.js:1:76)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
i a kind of beginner so if you can type what i miseed or how to solve this mess..tnx..
this part not working correctly.
const currentPrice = candle.close; if(this.stopLoss.isTriggered(currentPrice)) { this.advice('short'); this.stopLoss.destroy(); } else { // this part not working :-( this.stopLoss.update(currentPrice); }
now i made some decision and start working, if price going up stop lost destroy preview stop lost and create new stop lost i don`t known why it's not updating preview stop lost but decision was so
`if(currentPrice > this.stopLoss.isTriggered(currentPrice)){
this.stopLoss.destroy();
this.stopLoss.create(this.stopLoss.percentage, currentPrice);
}
if(this.stopLoss.isTriggered(currentPrice)) {
...........
`
Whenever I run bestone strategy, I get error in console. what am I doing wrong?
Error: non-error thrown:
This Gekko instance encountered an error and can't continue
at Object.onerror (C:\Users\sahan\Desktop\gekko2\gekko\node_modules\koa\lib\context.js:105:40)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
Hoping for fix soon,
Regards,
Its give this error,
Error: non-error thrown: Child process has died.
at Object.onerror (/home/musa/gekko/node_modules/koa/lib/context.js:105:40)
at process._tickCallback (internal/process/next_tick.js:109:7
@cloggy45 i just read the source of neuralnet version strategy.
let layers = [
{type:'input', out_sx:1, out_sy:1, out_depth: 1},
{type:'fc', num_neurons: this.layer_neurons, activation: this.layer_activation},
{type:'regression', num_neurons: 1}
];
in theory, if we only use fully connected layer without doing any thing like regularization
or dropout
, the trained network is easily overfitted
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.