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

"Yarn Start" and nothing happens. #91

Open
maximenz opened this issue Jun 3, 2022 · 4 comments
Open

"Yarn Start" and nothing happens. #91

maximenz opened this issue Jun 3, 2022 · 4 comments

Comments

@maximenz
Copy link

maximenz commented Jun 3, 2022

Did I do something wrong? Thanks.

@saedmohamad
Copy link

same

@remusnegrota
Copy link

remusnegrota commented Aug 1, 2022

same here. Can't tell if no output is getting logged until it actually finds an opportunity or if there is indeed an issue.
The error logs don't show anything.
The Alchemy logs show that there is activity and successful requests are being made while the bot is running.

LE: Put some logs around, confirming that it is running.

@enricocagliari
Copy link

Same here!
Actually, I thought it was not working, but now I see that @remusnegrota see activity on Alchemy...

Yet, I'm confused... Is it working? What should I expect to happen if there is no output log? Will I see something only when a trade is executed?

@CecoSvidovski
Copy link
Contributor

CecoSvidovski commented Sep 7, 2022

@enricocagliari

Same here! Actually, I thought it was not working, but now I see that @remusnegrota see activity on Alchemy...

Yet, I'm confused... Is it working? What should I expect to happen if there is no output log? Will I see something only when a trade is executed?

It is working. Just checked it. You can simply put a console log in index.ts just after the isProfitable const.

For example you can do something like this:
const currentTime = new Date();
console.log(currentTime.toLocaleDateString() + ' ' + currentTime.toLocaleTimeString() + ': ' + (isProfitable ? 'Profitable' : 'Not profitable'));

That way you'll know the app is running. Also you can see that it is indeed running by checking your alchemy requests. I'm not sure what happened I haven't checked this repository for months but with a glance I can tell that the table functionality that used to log all the coin pairs is commented out and removed from index.ts. Probably because in the 3.0 version 1 inch is removed.

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

5 participants