chrisleekr / binance-trading-bot

Automated Binance trading bot - Trade multiple cryptocurrencies. Buy low/sell high with Grid Trading. Integrated with TradingView technical analysis
MIT License
5k stars 1.09k forks source link

Error npm install #174

Closed EraldoOkado closed 3 years ago

EraldoOkado commented 3 years ago

I have a problem, which when executing the npm start command, is giving the following error:

binance-trading-bot@0.0.65 start

node ./dist/server.js

internal / modules / cjs / loader.js: 883 throw err; ^

Error: Cannot find module 'C: \ xampp \ projects \ binance-trading-bot-master \ dist \ server.js' at Function.Module._resolveFilename (internal / modules / cjs / loader.js: 880: 15) at Function.Module._load (internal / modules / cjs / loader.js: 725: 27) at Function.executeUserEntryPoint [as runMain] (internal / modules / run_main.js: 72: 12) at internal / main / run_main_module.js: 17: 47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

And then I can't run the websocket, which is why the bot doesn't work.

image

EraldoOkado commented 3 years ago

And I have a problem installing Docker on my Windows computer.

image

hugoleosp commented 3 years ago

Why don't you use a Linux version installed on HyperV? I installed Alpine and it's running very smooth with minimum ram/cpu usage.

EraldoOkado commented 3 years ago

I got it here, but I couldn't quite understand it, here in the test mode, he keeps buying 100% of the coins in just one order, and I had a loss of 0.1btc in the test mode. Could you help me, please?

chrisleekr commented 3 years ago

@EraldoOkado

When you say test mode, you mean Binance TestNet right? Then you didn't lose the money because it's fake.

he keeps buying 100% of the coins in just one order,

What does it mean?

EraldoOkado commented 3 years ago

Yes yes, it is fake money, but shouldn't I analyze the data in the test mode, and then put my real account in? I am trying to make as many changes as possible, so that it is good enough, and that I can make at least 20% profit in the month, that is, almost 1% per day. Do you think that would be possible? And I also intend to study the possibility of setting up a panel with more information and a more direct and interactive structure, however, nothing defined yet. The main focus now is to see and study the issue of monthly and daily income in the test mode, to start using the real mode all at once.

chrisleekr commented 3 years ago

@EraldoOkado

I see your intention. And I respect that.

First of all, I won't guarantee anything you will make money or not. It's your money, your responsibility. Depending on your configuration, you may or you may not. It's totally based on your configuration and the market (and whales).

Unfortunately, Binance TestNet is not the same as real Binance. They do not have any transaction and you won't be able to test your strategy. So I suggest not to waste your time with the TestNet. Just make sure it is working with the TestNet and see the data coming through and familiar with the UI.

My suggestion for you is, read the code and make sure you understand what it is doing. And do calculation based on the configuration. It is really important, you are reading the code or at least how it works which is described in the README.md.

This bot will help you to trade. It is not gonna just make money for you without your input. When the market changes, you will also need to adjust the configuration.

EraldoOkado commented 3 years ago

I understood perfectly, I will do as much as possible here to apply a strategy. Thank you very much, and my congratulations on the project, it is sensational!

chrisleekr commented 3 years ago

@EraldoOkado

Thanks for understanding.

There are more features to develop which are suggested by the community. Those features will help further to trade and make more money.

I really hope you make money with this.

If your question is answered, please close the issue. If you find any issue, please open a new issue. Thanks, man.

EraldoOkado commented 3 years ago

Do you indicate, or know of any resources that the community uses? Or what would you recommend to me?

chrisleekr commented 3 years ago

@EraldoOkado I simply meant the community as other traders who use this bot.

Refer: https://github.com/chrisleekr/binance-trading-bot/issues/166

EraldoOkado commented 3 years ago

Ahhh, I got it, so cool, thanks.