Giter Site home page Giter Site logo

reteps / arbitrage-chances Goto Github PK

View Code? Open in Web Editor NEW
120.0 120.0 26.0 20 KB

Finding the best arbitrage opportunies for the top 100 cryptocurrencies in python3.

License: MIT License

Python 100.00%
100-stars-ayyyy arbitrage coin coinmarketcap cryptocurrency exchange

arbitrage-chances's Introduction

Hi, I'm Pete ๐Ÿ‘‹

I'm currently a student studying CS @ University of Illinois Urbana-Champaign!

I enjoy reverse engineering and creating open-source libraries, as well as making websites using frameworks such as Django, Flask, React, Vue.

Languages I've worked with:

Python JavaScript HTML5 CSS3 C++ C Java Go

Frameworks I've worked with:

OpenCV Vue.js React NodeJS Django Flask Express.js SASS Bootstrap Material UI React Native React Router Redux Styled Components

Hackathons

  • HackGT 9 | DataDefender - A chrome extension to track downstream data sales | Privacy & Security Winner GitHub Devpost
  • HackIllinois | AgroGen - A Machine Learning Prediction Service For Farmers GitHub Devpost
  • BPA | Biohomes - A site to inform people about BioHomes | 1st in state (NTLs cancelled) GitHub Website

Projects

I try to add descriptions to all my public github projects, feel free to explore!

arbitrage-chances's People

Contributors

deepserket avatar reteps 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

arbitrage-chances's Issues

TypeError: string indices must be integers

Hi,

Running the script with Python 3.6.4 on Windows 10, I have a type error:

Traceback (most recent call last): File "start.py", line 45, in <module> trades_into = market["pair"].replace(coin["symbol"],"").replace("-","") TypeError: string indices must be integers

I attach the complete output, including the command line used: output-arbitrage-chances.txt

json error

hi when i try to start it i get the following error. used to work well in january/february.

C:\Users\Aldo\AppData\Local\Programs\Python\Python36>python.exe ./start --exchanges Binance Kucoin Etherdelta Cryptopia Bittrex Bitfinex Poloniex --pairs ETH BTC LTC Traceback (most recent call last): File "./start", line 20, in <module> cmc = pymarketcap.Pymarketcap() File "C:\Users\Aldo\AppData\Local\Programs\Python\Python36\lib\site-packages\pymarketcap\core.py", line 54, in __init__ self.correspondences = self._cache_symbols() File "C:\Users\Aldo\AppData\Local\Programs\Python\Python36\lib\site-packages\pymarketcap\core.py", line 87, in _cache_symbols currencies = self.session.get(url).json() File "C:\Users\Aldo\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\models.py", line 884, in json self.content.decode(encoding), **kwargs File "C:\Users\Aldo\AppData\Local\Programs\Python\Python36\lib\json\__init__.py", line 354, in loads return _default_decoder.decode(s) File "C:\Users\Aldo\AppData\Local\Programs\Python\Python36\lib\json\decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\Aldo\AppData\Local\Programs\Python\Python36\lib\json\decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

TypeError: string indices must be integers

Hi, i run the test cmd and get the following error:
Traceback (most recent call last):
File "./start", line 33, in
markets = cmc.markets(coin["id"])
TypeError: string indices must be integers

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./start", line 35, in
markets = cmc.markets(coin["symbol"])
TypeError: string indices must be integers
I try to use the pymarketcap's ticker(100) directly, it seems the data structure outer is just data?
Is there anything wrong?
Thanks

AttributeError: 'NoneType' object has no attribute 'find'

Hi,

Running the script with Python 3.6.3, I have an attribute error:

Traceback (most recent call last):
  File "./start", line 33, in <module>
    markets = cmc.markets(coin["id"])
  File "/home/u/arbitrage-chances/lib/python3.6/site-packages/pymarketcap/core.py", line 296, in markets
    marks = html.find(id="markets-table").find("tbody").find_all('tr')
AttributeError: 'NoneType' object has no attribute 'find'

I attach the complete output, including the command line used: output-arbitrage-chances.txt

Error

A:\Documents\arbitrage-moments-master>python3 start.py
Traceback (most recent call last):
File "start.py", line 25, in
if market['percent_volume'] >= MINIMUM_PERCENT_VOL and market['is_updated'] and (trades_into in ACCEPTABLE_TRADING_PAIRS or ALL_PAIRS):
KeyError: 'is_updated'

not to sure what's causing this error

Removing certain exchanges / currencies from the bot?

Is there a way to get rid of the korean won entries, for example? I want to see all U.S. supported exchanges, including ones I might not know about at the moment, but I don't want to see ones that I can't use, such as the Chinese and Korean ones.

Syntax @line 60

print('[{}/100]'.format(count),end='\r')

I had the idea to search for crypto arbitrages, but i have nearly no skills in python. Sorry.
I was not able to scan the CMC-API for different prices on different exchanges.
Searching for a solution i found this sweet little peace of stuff. Thank you for your work!

But my console output and the Python linter at pythonbuddy.com tell me something about a syntax error in line 60.

Is this really a problem or am i wrong?

Error with install

I'm sorry i know this isn't your package but really want to use your script and ive tried installing pymarketcap with pip and from source and I keep getting this dependency error if anyone knows a solution. Thank you either way!

image

Newbie question - how to get running on windows?

I downloaded python and your code but I'm confused about how to get it running from there. I tried navigating to the directory I have the folder in and typing start into a python command prompt, but that doesn't seem to work. I also tried using a regular command prompt, but that didn't seem to work either.

I'm sure there's some kind of build process that I'm missing here, and I was wondering if you could give me some step by step instructions to help me get this running. I know this is a script kiddie question but I'd really appreciate your help since I don't understand python very well.

Thanks in advance!

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.