prettyflyforabeeguy / Arbibot

A bot that checks exchange crypto prices and finds the cheapest trade pair.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arbibot

Arbitrage bot version 0.0.4 by prettyflyforabeeguy
This is a bot that checks exchange crypto prices and finds the cheapest trade pair. Due to the inconsistency in which exchanges deal in fiat currencies, the Arbibot will use CoinMarketCap prices to make its price-per-coin comparisons. This will mean there is a gap between actual prices and what you might see on the exchange. Prices are meant to be an approximation only. None of this is investing advice and you use this at your own risk.

Getting Started:
Make sure you have python 3.7 or greater installed https://www.python.org/downloads/
Clone this repo: git clone https://github.com/prettyflyforabeeguy/Arbibot.git
You will need to sign up for a free API Key from CoinMarketCap
This key will need to be added to your config/creds.json (see example below)

Optional Settings:
If you create an account and setup an APIKey and APISecret from any of the supported exchanges below, You'll have the potential to make more complex queries in the future:
https://c-patex.com
https://xeggex.com
This key and secret will need to be added to your config/creds.json (see example below)

It's important to know your API keys will have transaction limits and should not be abused. So be mindful of how often you're instructing the bot to query prices.

config/config.json example:
You will need to create a config.json file in the config folder using the example below.
The fields have syntax restriction so please read the /config/CONFIG_READ.ME carefully for more details
You can change the coin to any coin the exchange supports and include all the trade pairs you'd like compared.

{
    "CheckFrequencyMinutes": "240",
    "Coin": "DIME",
    "CpatexEnabled": true,
    "TradePairs": [
        "dimeltc",
        "dimedoge",
        "dimeusdc"
    ],
    "XeggexEnabled": true,
    "XeggexTradePairs":[
        "DIME_USDT",
        "DIME_LTC",
        "DIME_DOGE"
    ]
}

config/creds.json example:
You will need to create a creds.json file in the config folder using the example below.
At a minimum the CMCKey is required. If you plan to use C-Patex the Cpatexendpoint is also required. Please read the /config/CREDS_READ.ME carefully for more details
Just populate your API Keys and API Secrets accordingly between the quotes

{
    "Cpatexapi_key": "",
    "Cpatexapi_secret": "",
    "Cpatexendpoint": "https://c-patex.com:443/api/v2",
    "CMCKey": "",
    "xeggexapikey": "",
    "xeggexapisecret": ""
}

Thank you all for your interest and support!
If you found this or any of my projects useful and would like to see more in the future, please consider a donation:
DIME: 7JwbNZdP3pzreem3v3rmWAXcP5LxvqRTgU
BTC: bc1q3m4x0d8j6c8enkzeet2c4tcy26uflsm9s4njg4
LTC: ltc1qzhavlsq29kqe65cjjuq2l23d92f0mqlwkwldrg
ETH: 0xaf9dB0Eaf3A398A4F549A09e1230B42B51FdAFF3

About

A bot that checks exchange crypto prices and finds the cheapest trade pair.

License:MIT License


Languages

Language:Python 95.3%Language:Roff 4.7%