Skip to main content

# Cryptocurrency Bot ## Usage* Clone the repo and use exchange_utils.py and auth.py as normal modules.* API keys are required for each exchange you use..

Project description

Cryptocurrency Bot

Usage

  • Clone the repo and use exchange_utils.py and auth.py as normal modules.
  • API keys are required for each exchange you use.

Installing Requirements:

pip install -r requirements.txt

Getting API Keys:

  • Generate keys for binance: https://www.binance.com/userCenter/createApi.html
  • Add the keys to a file named api_keys.json in the same directory
    Format of api_keys.json:
    {
        "exchange_name": {
            "api_key": "public api key here",
            "api_secret": "secret key here"
        }
    }
    

Changing Exchanges

  • In auth.py, change ccxt.binance to ccxt.exchange_of_your_choice, see ccxt documentation for a list of supported exchanges. I've tried to make sure all the functions in exchange_utils work across any exchange, but they have only been thouroughly tested on Binance.
    Example:
exchange = ccxt.bittrex({
    'apiKey': keys['bittrex']['api_key'],
    'secret': keys['bittrex']['api_secret'],
})

Examples

Example bots are in the bots subfolder. I am not liable for anything that happens if you choose to use these bots.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cryptobot_pro-3.1.5.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

cryptobot_pro-3.1.5-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file cryptobot_pro-3.1.5.tar.gz.

File metadata

  • Download URL: cryptobot_pro-3.1.5.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.2

File hashes

Hashes for cryptobot_pro-3.1.5.tar.gz
Algorithm Hash digest
SHA256 71fdb88bd2a74bceca58c67b7cbcd86c7ba9d1142cba11c8dea9500d92ae45e5
MD5 df4ef860eaad3646f8429924c7823f8a
BLAKE2b-256 fa6628db681316b19d8febd7c3e35eca3827436f61ef23cfc5e120f98d4d44e3

See more details on using hashes here.

File details

Details for the file cryptobot_pro-3.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for cryptobot_pro-3.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d1c35d2be1ba4fb7ff387d00613e19f39e0ebb8801a89a021b4dd72325a83192
MD5 4e0c2a2d1f3b81f57b9b55952e5e0046
BLAKE2b-256 2432a90cfc3abfdf73477815c8b3c86af5ee7a315cdea3dadca8d8614003d765

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page