Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

does not take option arguments anymore... #2152

Closed
e-pangolin opened this issue May 13, 2020 · 7 comments
Closed

does not take option arguments anymore... #2152

e-pangolin opened this issue May 13, 2020 · 7 comments

Comments

@e-pangolin
Copy link

i tried to remove and reinstall Zenbot from Git, and different versions of NodeJs,
also tried with conf.js from older working zenbot on another VM,

but i still have this new strange problem (while working perfectly if i dont use options):


zen@zolw:~/zenbot$ ./zenbot.sh trade --strategy macd --period 2m
internal/modules/cjs/loader.js:979
  throw err;
  ^

Error: Cannot find module '/home/zen/zenbot/extensions/exchanges/--period/exchange'

[...]


zen@zolw:~/zenbot$ ./zenbot.sh trade --strategy kc --kc_multiplier 2
internal/modules/cjs/loader.js:979
  throw err;
  ^

Error: Cannot find module '/home/zen/zenbot/extensions/exchanges/--kc_multiplier/exchange'
zen@zolw:~/zenbot$ ./zenbot.sh trade --period 30m binance.ETH-USDT
internal/modules/cjs/loader.js:979
  throw err;
  ^

Error: Cannot find module '/home/zen/zenbot/extensions/exchanges/--period/exchange'

etc...
Thanx for help!

@e-pangolin
Copy link
Author

but "./zenbot.sh trade --strategy macd" works fine

@DeviaVir
Copy link
Owner

That's an odd issue. What operating system are you on? And what terminal do you use?

@e-pangolin
Copy link
Author

Zenbot runs in a Debian Buster VM, i use Xterm or Mate Terminal (Debian Testing) as terminal.

@e-pangolin
Copy link
Author

it was working for months, don't know if it broke after dist-upgrade or zenbot update

@e-pangolin
Copy link
Author

On my Debian Testing laptop i have a few older zenbot version that works, just tested updating zenbot, it also breaks it!

sorry i'm new to git, i backuped directory of older working version but don't know how to see wich exact version it is

@e-pangolin
Copy link
Author

e-pangolin commented May 14, 2020

Ok sorry i think my only working version is quite old, doesn't gives many information:
$ git log |head -n 3 commit 4a14757f9b8d76800193be678880a1f220804f2a Author: Travis CI <travis@travis-ci.org> Date: Sat Dec 28 16:43:48 2019 +0000

@stale
Copy link

stale bot commented Jul 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants