Giter VIP home page Giter VIP logo

arbitrage-keeper's People

Contributors

blinkystitt avatar ednoepel avatar livnev 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

arbitrage-keeper's Issues

Tx has been overridden by another transaction with the same nonce, which means it has failed

WARNING Transaction ERC20Token('0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359').approve(['0xbda109309f9fafa6dd6a9cb9f1df4085b27ee8ef', 115792089237316195423570985008687907853269984665640564039457584007913129639935]) has been overridden by another transaction with the same nonce, which means it has failed

Can someone help me understand what's going on here? I started this keeper and it sent a bunch of approval transactions, which were confirmed.

Seems like it's worried about something that it shouldn't be anymore.

And while you're here, what is the base-token? I used weth but think I may be missing something.

'pkg-config' is required to install this package.

Hi, I want to install arbitrage-keeper and when I install requirements.txt I got this :

Complete output from command python setup.py egg_info:
'pkg-config' is required to install this package. Please see the README for details.

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\Admin\AppData\Local\Temp\pip-install-bebbshro\secp256k1\

I've already install pkgconfig but it still doesn't change.
I'd appreciate if someone has a solution
thanks

Ошибка при установке библиотеки secp256k1

Добрый день, столкнулся с такой проблемой при попытке установить библиотеку secp256k1 для Python 3.7.0 на windows 10

pip install secp256k1
Collecting secp256k1
Using cached secp256k1-0.13.2.tar.gz (156 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-7i2gk55_\secp256k1\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-7i2gk55_\secp256k1\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\User\AppData\Local\Temp\pip-pip-egg-info-y75n4yl'
cwd: C:\Users\User\AppData\Local\Temp\pip-install-7i2gk55
\secp256k1
Complete output (1 lines):
'pkg-config' is required to install this package. Please see the README for details.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

pip install warnings on eth-utils version 0.7.1

When running pip3 install -r requirements.txt with pip 18, I get this warning:

eth-keys 0.2.0b3 has requirement eth-utils<2.0.0,>=1.0.0-beta.2, but you'll have eth-utils 0.7.1 which is incompatible.
eth-keyfile 0.5.1 has requirement eth-utils<2.0.0,>=1.0.0-beta.1, but you'll have eth-utils 0.7.1 which is incompatible.
eth-tester 0.1.0b32 has requirement eth-utils<2.0.0,>=1.0.1, but you'll have eth-utils 0.7.1 which is incompatible.

Is there any reason 0.7.1 is pinned in requirements.txt?

Invalid syntax error

I've installed the arbitrage-keeper as instructed on the readme page. However, when running ./arbitrage-keeper the following error occurs.

File "/home/ubuntu/arbitrage-keeper/arbitrage_keeper/arbitrage_keeper.py", line 106 self.web3 = kwargs['web3'] if 'web3' in kwargs else Web3(HTTPProvider(endpoint_uri=f"http://{self.arguments.rpc_host}:{self.arguments.rpc_port}", ^ SyntaxError: invalid syntax

Improve arbitrage cost calculation

The keeper tries to estimate the cost of sending the arbitrage transaction(s) to the network, subtracting that cost from expected profit in order to compare it with the minimum profit threshold. Unfortunately, the way it is currently implemented is very simple and basically wrong. The keeper always assumes that one arbitrage step costs 0.25 of the base currency, which may be ok if the base currency is SAI, but will be completely wrong if we set the base currency to WETH.

The calculation also completely abstracts from the current gas price in the network, or the gas price that will be used to send the arbitrage transaction. We should consider making the keeper aware of this price as well, as there are days when gas costs 1 GWei as well days when you have to use 100 GWei to get your transaction through.

Please bear in mind that ransactions may be send directly (in sequence) or via TxManager, we should figure out whether that should impact cost calculation or not.

Pls see the # TODO transaction costs are still in a fixed currency (SAI) here comment in opportunity.py.

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.