Coder Social home page Coder Social logo

f4t1h21 / arbitrage-bot-code-library Goto Github PK

View Code? Open in Web Editor NEW
29.0 3.0 18.0 484 KB

Analyzing arbitrage opportunities between DEcentralized eXchanges (dex-to-dex)

Home Page: https://pypi.org/project/libarbitrage

License: GNU General Public License v3.0

Python 100.00%
arbitrage arbitrage-bot arbitrage-opportunity arbitrage-trading arbitrage-trading-bot bot code decentralized decentralized-exchange dex

arbitrage-bot-code-library's Introduction

Hi, my name is Şefik Efe 👋 profile-visits

Passionate senior student doing [software development, security research] on [Linux, Blockchain, Web2 & Web3, IoT]

🔗 Let's connect

LinkedIn  Twitter  GitHub  GitLab  YouTube  HackTheBox  HackerOne  MuseScore  Buymeacoffee  ArchForums

🌐 Technologies I deal with

python   bash  solidity  lua    php   javascript   html5  css3  micropython   flask    nodejs  mysql  postgresql   git   docker  arch  debian kali  raspberrypi  esp32   lora   neovim 


📝 Hack The Box Writeups: git.io/htb-writeups htb-badge support

📺 Latest YouTube Videos:

 ➡️ more videos


statistics top-languages


─ Written by f4T1H ─

arbitrage-bot-code-library's People

Contributors

f4t1h21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arbitrage-bot-code-library's Issues

Getting error while running the code

image

import libarbitrage
from time import sleep


APIKEY = 'efd9a9bd4af942bf99bc68edc53a9576'
tokens = ['eth', 'btc', 'ftt', 'aave', 'usdc',
          'usdt']  # Tokens to analyze between
dexes = ['uniswap', 'sushiswap']  # DEXes to analyze
revenue = 1.5  # Minimum amount of revenue in percentage per one USDT
libarbitrage.arbitrage(APIKEY, tokens, revenue)

arbitrage_data = libarbitrage.getArbitrageData()
type(arbitrage_data)

print(len(arbitrage_data))
print('Done')

I tried to test this code and I'm getting this error below.
Can you pls share a sample code

image

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.