It is currently Sun Jan 20, 2019 5:11 am
All times are UTC + 8 hours

[REQUEST] Gekko Crypto Trading Bot APK (Node.js)

Who doesn't love third-party apps? Get together and talk about them here.

Re: [REQUEST] Gekko Crypto Trading Bot APK (Node.js)

Postby clinton.hall » Sat Jul 21, 2018 5:57 pm

ok. let me know if this does what you want, if there is anything missing, if anything you figured out how to add isn't included etc...
otherwise, hopefully this allows it to run in as a service as you wanted.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
 
Posts: 831
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: [REQUEST] Gekko Crypto Trading Bot APK (Node.js)

Postby IPhantom » Sat Jul 21, 2018 6:55 pm

Are you not going to use it yourself? That makes me a little embarrassed :oops:
It sure takes a while to wrap your head around it. In any case thank you very much!

By the way i have fixed the description and the official icon here: https://uploadfiles.io/akt56
The App is still shown in AppCentral as disabled. :?:

I am currently fetching market data. Seems to work.
Then i will try other features.

It appears i cannot run node or npm to install add-ons. I did run start-stop.sh with the exports un-commented tho.
If you are interested...
Two technical analysis essentials would be Talib and Tulip. You also would want to add convnetjs and mathjs for the neuralnet strategy.
Here is a Repo with a collection of strategies and their results.
IPhantom
 
Posts: 42
Joined: Sat Jan 14, 2017 11:38 pm

Re: [REQUEST] Gekko Crypto Trading Bot APK (Node.js)

Postby IPhantom » Sat Jul 21, 2018 10:22 pm

Something weird happend just now. The folder Gekko disappeared suddenly :o

OK, uninstall, reboot and another install. From the activity monitor it looks that the automatic install doesn't do a thing.
Manual restart then... worked like a charm:

Code: Select all
admin@VAULT:/volume1/home/admin $ /usr/local/AppCentral/gekko/CONTROL/start-stop.sh restart                                                         
Restarting Gekko                                                                                                                                     
Shutting down Gekko at Sat Jul 21 22:10:20 CST 2018...                                                                                               
Gekko is not running? (Sat Jul 21 22:10:20 CST 2018)                                                                                                 
Gekko prestartup checks... (Sat Jul 21 22:10:20 CST 2018)                                                                                           
remote: Counting objects: 13675, done.                                                                                                               
remote: Compressing objects: 100% (33/33), done.                                                                                                     
remote: Total 13675 (delta 10), reused 23 (delta 10), pack-reused 13631                                                                             
Receiving objects: 100% (13675/13675), 5.00 MiB | 1.59 MiB/s, done.                                                                                 
Resolving deltas: 100% (8936/8936), done.                                                                                                           
From git://github.com/askmike/gekko                                                                                                                 
 * branch            HEAD       -> FETCH_HEAD                                                                                                       
--2018-07-21 22:11:09--  https://nodejs.org/dist/v8.11.3/node-v8.11.3-linux-x64.tar.xz                                                               
Resolving nodejs.org (nodejs.org)... 104.20.22.46, 104.20.23.46, 2400:cb00:2048:1::6814:162e, ...                                                   
Connecting to nodejs.org (nodejs.org)|104.20.22.46|:443... connected.                                                                               
HTTP request sent, awaiting response... 200 OK                                                                                                       
Length: 11351132 (11M) [application/x-xz]                                                                                                           
Saving to: 'node-v8.11.3.tar.xz'                                                                                                                     
                                                                                                                                                     
100%[===========================================================================================================>] 11,351,132  5.32MB/s   in 2.0s   
                                                                                                                                                     
2018-07-21 22:11:12 (5.32 MB/s) - 'node-v8.11.3.tar.xz' saved [11351132/11351132]                                                                   
                                                                                                                                                     
/volume1/.@plugins/AppCentral/gekko/bin/npm -> /volume1/.@plugins/AppCentral/gekko/lib/node_modules/npm/bin/npm-cli.js
/volume1/.@plugins/AppCentral/gekko/bin/npx -> /volume1/.@plugins/AppCentral/gekko/lib/node_modules/npm/bin/npx-cli.js                               
+ npm@6.2.0
added 282 packages, removed 363 packages and updated 41 packages in 25.66s                                                                           

> websocket@1.0.24 install /volume1/.@plugins/AppCentral/gekko/Gekko/node_modules/websocket                                                         
> (node-gyp rebuild 2> builderror.log) || (exit 0)                                                                                                   
                                                                                                                                                     
                                                                                                                                                     
> sqlite3@4.0.2 install /volume1/.@plugins/AppCentral/gekko/Gekko/node_modules/sqlite3                                                               
> node-pre-gyp install --fallback-to-build                                                                                                           
                                                                                                                                                     
node-pre-gyp WARN Using request for node-pre-gyp https download
[sqlite3] Success: "/volume1/.@plugins/AppCentral/gekko/Gekko/node_modules/sqlite3/lib/binding/node-v57-linux-x64/node_sqlite3.node" is installed via
 remote                                                                                                                                             
+ request@2.87.0
+ relieve@2.2.3                                                                                                                                     
added 324 packages from 797 contributors in 32.203s                                                                                                 
fixed 20 of 38 vulnerabilities in 648 scanned packages                                                                                               
  4 package updates for 18 vulns involved breaking changes                                                                                           
  (use `npm audit fix --force` to install breaking changes; or do it by hand)                                                                       
added 2 packages from 6 contributors, removed 2 packages and updated 4 packages in 12.159s
fixed 6 of 24 vulnerabilities in 642 scanned packages                                                                                               
  4 package updates for 18 vulns involved breaking changes                                                                                           
  (use `npm audit fix --force` to install breaking changes; or do it by hand)                                                                       
added 1 package from 1 contributor and audited 642 packages in 9.135s
found 17 vulnerabilities (5 low, 9 moderate, 3 high)
  run `npm audit fix` to fix them, or `npm audit` for details                                                                                       

> websocket@1.0.26 install /volume1/.@plugins/AppCentral/gekko/Gekko/exchange/node_modules/websocket                                                 
> (node-gyp rebuild 2> builderror.log) || (exit 0)                                                                                                   
                                                                                                                                                     
added 139 packages from 164 contributors and audited 457 packages in 10.702s
found 11 vulnerabilities (9 moderate, 2 high)                                                                                                       
  run `npm audit fix` to fix them, or `npm audit` for details                                                                                       
Starting Gekko Done (Sat Jul 21 22:13:00 CST 2018)                                                                                                   
admin@VAULT:/volume1/home/admin $


My box must be possessed :twisted:
IPhantom
 
Posts: 42
Joined: Sat Jan 14, 2017 11:38 pm

Re: [REQUEST] Gekko Crypto Trading Bot APK (Node.js)

Postby clinton.hall » Sun Jul 22, 2018 6:32 am

weird, I just don't see any of that here. Clean install just runs and is enabled in AppCentral.

I will look at using this... I just need to get my head around the usage. I don't even have any accounts to test the api etc. I assume I would need to register an account and then transfer my BTC over?
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
 
Posts: 831
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: [REQUEST] Gekko Crypto Trading Bot APK (Node.js)

Postby clinton.hall » Sun Jul 22, 2018 6:36 am

Just to confirm, you are running the second apk that I posted?
https://www.dropbox.com/s/xki07cgldnq9zeh/gekko_20180720_any.apk?dl=0
the first one had serious issues. As I had only shared it here, and I was working remotely, I didn't change the rev details, so they both "look" the same. But you need to be running this latest one (I removed the original link, but it looks like you downloaded that version before I took it down). I can't tell if you actually downloaded the later version, so thought it best to check in case this was missed...
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
 
Posts: 831
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: [REQUEST] Gekko Crypto Trading Bot APK (Node.js)

Postby IPhantom » Sun Jul 22, 2018 1:00 pm

Last night after that super clean install via restart, i ran an import and went to bed. This morning same thing Gekko directory completely gone. :shock:
A very delayed clean-up path issue maybe? I noticed it doesn't delete the node archive, i would presume it should.

I am sure i used the latest link you posted, anyway i just downloaded it again and installed it. It still wouldn't show as enabled.
How does AppCentral determine anyway when an install is finished and an app is enabled or not? For me it does that way before it is actually done.
It looks like the automatic install is getting stuck after downloading node.

Maybe we should put into a repo and get more people involved. Mine is a AS3204T, running ADM 3.1.5.RJ42

For trading yes, you need to sign up to an exchange and transfer some to your wallet there. Or you just buy there anything you like with real currency.
After that you sell it again and transfer it to your bank account or directly transfer it back to your wallet. Best you pull out your initial investment after you yielded some profit, then it's just game money.
After you have some of the top 20 coins in your portfolio it is just near to impossible to trade manually efficiently; hence a bot.
IPhantom
 
Posts: 42
Joined: Sat Jan 14, 2017 11:38 pm

Previous

Return to Developer's Corner

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest