Code Monkey home page Code Monkey logo

Comments (29)

ctubio avatar ctubio commented on May 16, 2024 1

mm.. make sure you are not already root, npm must not be executed as root (it uses sudo where needed)

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024 1

Okay but given what I can read, why not using version 42 instead of 43 if this one is broken ? #newernotalwaysbetter

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024 1

fuck it, lets recover gdax 4.2

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

K thinks orders are sent but trade per second = 0 and nothing shows up on Gdax's website.

capture d ecran 2017-06-23 a 17 19 35

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

ima try to fix first #14 (for me the orders are currently visible and open in the exchange)

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

Yep no problem I'm going to investigate that, maybe it's just particular settings that creates the issue. (I'm puzzled because it works perfectly for BTCEUR, so I feel like it's something related to minimum tick or decimals somewhere)

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

you still have issues after 7b4e368? for me seems its working nice for liiiiiike 10 continued minutes xD let me know if so please

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

... Well I had to install form-data and node-uuid manually and now it doesn't work.

I get "CANNOT GET" online and that in the logs:


16:16:52.529 broker Exchange details { exchange: 'Coinbase',
  pair: 'BTC/EUR',
  minTick: 0.01,
  minSize: 0.01,
  makeFee: 0,
  takeFee: 0,
  hasSelfTradePrevention: true }
16:16:52.542 coinbase FIX Initiator Start
16:16:52.557 coinbase FIX Logon Connected
16:16:53.210 active Changed quoting mode to true
16:16:53.215 tbp recalculated 0.12118498614103837
16:16:53.217 main Event loop delay 200ms
^C16:17:54.044 main Handling SIGINT
16:17:54.046 main All exiting event handlers have fired, exiting application.
16:17:54.047 main Exiting with code 0

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

New Logs:

module.js:472
    throw err;
    ^

Error: Cannot find module './app/server/main.js'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/K/K.js:2:1)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

this means folder app doesnt exists, npm install or npm run postinstall is supposed to create that folder xD

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

Yep I tried but npm install gives me just that:

npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] sudo rm -rf /usr/local/etc/stunnel && sudo mkdir -p /usr/local/etc/stunnel/ && exec npm run install-packages /K
npm WARN lifecycle [email protected]~postinstall: cannot run in wd %s %s (wd=%s) [email protected] npm run compile-server && npm run compile-client && npm run compile-public && npm run compile-bundle /K
up to date in 3.42s

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

what is your npm version? mine iisss:

$ npm -v
5.0.3

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

npm 5.0.3 & node 7.10.0 !

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

so like https://travis-ci.org/ctubio/Krypto-trading-bot/jobs/246261734, i just restarted that job, it should finnish OK ina bit, see the expected steps of preinstall and postinstall (and all other) under v7.10.0 there

the following image will be updated shortly: Build Status

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

Yep I see that, but it's still the two lines sudo rm -rf /usr/local/etc/stunnel && sudo mkdir -p /usr/local/etc/stunnel/ && exec npm run install-packages /K
and the second one that doesn't work :/

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

That must be it! By default you're root on Alibaba Cloud.

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

if you want to keep begin root, add --unsafe-perm to npm, like npm install --unsafe-perm

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

Thank you so much, Carles ! It works perfectly I keep that in a corner of my head for next time.

I didn't know for npm as root, maybe it can be good to note is somewhere in the install?

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

yep will add it somewhere, thanks for the report'¡

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

Going back to the original problem (markets that don't work).

So good news -> LTC/EUR ETH/EUR work perfeclty now!

But ETH/BTC and LTC/BTC don't:
So it's a bit weird -> market width is negative and K thinks to send many orders (much more than expected I'm using boomerang) and nothing actually sent to the market.

capture d ecran 2017-06-23 a 19 19 13
capture d ecran 2017-06-23 a 19 19 41

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

Update: It does work when you deactivate % and chose a small number! (0.5LTC / 0.1ETH)

Update of update, it works better but no all the time, I'm not sure what it is.

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

yea i see too gdax has still some issues; is like match orders are not deleted from the order book or sumshit

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

ima not fix more gdax stuff until they dont accept my first PR, hope this is fixed by their side; for me works fine most of the time, but i do notice sumshits sumtimes

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

Yep makes sense!

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

Okay I think I have a part of the answer!

All the crypto seem "used" very fast that's why only low amounts / and trading with no APR works better.

Maybe it's linked to the time Gdax retains the cash no ?
capture d ecran 2017-06-23 a 19 46 46

I need to say that I'm having orders of 0.1 on ETH/BTC and 0.4 on ETH/EUR so it should not be that high. :)

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

im not sure that i follow :S

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

what im seen is also like #18, it starts ok and after a while it goes out of sync in one side

from krypto-trading-bot.

Camille92 avatar Camille92 commented on May 16, 2024

PS: the module node-uuid is not the install file, you should add it :)

src/server/gateways/coinbase.ts(10,23): error TS2307: Cannot find module 'node-uuid'.

from krypto-trading-bot.

ctubio avatar ctubio commented on May 16, 2024

4.2 recovered

from krypto-trading-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.