Git Product home page Git Product logo

Comments (4)

saedmohamad avatar saedmohamad commented on September 22, 2024

same

from poly-flashloan-bot.

remusnegrota avatar remusnegrota commented on September 22, 2024

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.

from poly-flashloan-bot.

enricocagliari avatar enricocagliari commented on September 22, 2024

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?

from poly-flashloan-bot.

CecoSvidovski avatar CecoSvidovski commented on September 22, 2024

@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.

from poly-flashloan-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.