Giter Club home page Giter Club logo

arbitrage-tracker-bsc's Introduction

Major-Project-BSC

This is an Arbitraging Trading bot codebase used for my Major Project.

What this does:

  • It retrieves price data from DeFi exchanges on the BSC chain.
  • Takes the information and stores them on a SQL database.
  • Uses prices to compare and find Arbitraging Opportunities.
  • Activates a flashloan Smart contract when opportunity is found. (Work in Progress)
  • Sends a Alert when opportunity is found.
  • Maps price data on a Chart.

How to run?

Arbitrage Bot:

  1. Git clone the repo.
  2. Open your Terminal
  3. cd Major-Project-BSC
  4. npm install to get all dependencies
  5. Set-up a getblock.io account and get your api key
  6. Get the link to call a BSC node
  7. Create a Telegram bot using botfather and get the key
  8. Set up database (Refer Below)
  9. Fill in the info at env_example and rename it to .env
  10. Open terminal and go into the Major-Project-Bsc directory
  11. node index.js to run the codes

Database set-up:

  1. Download a mysql reader. MAMP for macbook and xampp for windows.
  2. Run the database tables and create a new table
  3. Import the arbitraging database provided
  4. Record down your user login, password and table name for .env

Toggle on or off console logging:

  1. LOGGING = 0 in .env to activate logging
  2. Remove the 0 and leave LOGGING empty to deactivate logging

Thanks for reading!

arbitrage-tracker-bsc's People

Contributors

shawnlrh avatar warrenseah avatar

Forkers

toarias

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.