Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config error #49

Closed
SolosoftNL opened this issue Dec 15, 2021 · 11 comments
Closed

Config error #49

SolosoftNL opened this issue Dec 15, 2021 · 11 comments

Comments

@SolosoftNL
Copy link

SolosoftNL commented Dec 15, 2021

Hello,

thanks for making this bot. I'm just curious and test this on my server for hobby purposes. But when running it give me the following output:

already solved :)

@SolosoftNL
Copy link
Author

my bad..

BTW: can you implement s

@nerap
Copy link
Owner

nerap commented Dec 15, 2021

Feel free to ask anything ! What do you want me to implement?

@SolosoftNL
Copy link
Author

O nothing important. First I need time to read me in and better understanding python and this project before asking. But I thought maybe you could implement apprise so I get a ping when things change?

@SolosoftNL
Copy link
Author

I mean only when a transaction is made. For example, the total amount and price.

@SolosoftNL
Copy link
Author

Update: Im running the script for several hours now, have configured 3 'SYMBOLS' and put 100 USDT on my wallet. But still no trades made from the start? Open position is always False. How come? Do i need more patience?

@nerap
Copy link
Owner

nerap commented Dec 16, 2021

Yes the bot make long terme trade, but if you put 3 SYMBOLS it migth take a week to have a single trade.
The algo is really simple, you have two signals line, MACD on 1 day period and MACD on 6 hour period.

When MACD 1 Day period cross his signal line from the bottom and MACD 6 hour period cross his signal ligne from n-2 from the bottom, you buy. What it means it ensure that you won't buy if the line just cross really quickly and then come back.

The selling order is the same condition as buying but the other way.

Take a look how MACD is working and you will see why it take so much time.

And in my experience, shortest trade or bot that making alot of trade /day are not worth it, any of them. because of fee transactions and lack of strong data.
Using data from weeks ensure that your decision is not based on a stupid trend that last 1 hour.

@SolosoftNL
Copy link
Author

Thanks sir. Clear answer. I will do more research on this topic MACD. Good day!

@SolosoftNL
Copy link
Author

Another question: will the algo/ build index be saved when restart the bot? Or when adding more symbols?

@SolosoftNL
Copy link
Author

How exactly does the base wallet (USDT)work? for example: when starting the bot I've 100 in my USDT wallet. I've set the quantity to 50%, so 50 USDT will be left.
What happens when I deposit another of let's say 100 USDT? Does the bot recognize this?

@nerap
Copy link
Owner

nerap commented Dec 16, 2021

Yes it does, the 50 percent is base on all of you USDT Wallet, so if you say you gain money on a trade like 10 USDT, you will have 110 USDT, so 50 % is 55. His order is value are relativ not absolut, even if you loose a trade let's say you are at 90 USDT, you will have 45 USDT that the bot can use.

You need to restart the bot each time you change the configuration file, but don't worry, he won't miss a trade, let's say if your bot shut down for 12 hours for some reason and during this time a buying or selling order could be made, the bot will make the order if it's not too late. but I added some restart and reconnection, so the program won't stop unless you lost connection, or the server/pc has to reboot.
Pretty straight foward bot, feel free to modify the algo, my code is really basic and simple !

@SolosoftNL
Copy link
Author

Thanks mate! I do understand. Economics aren't my best skills so I won't change the algo 😁. I'm just a hard working guy in the harbor that is looking for solutions to protect his well deserved money. And the inflation brought me here..

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

No branches or pull requests

2 participants