An open API service indexing awesome lists of open source software.

https://github.com/joebb10/crypto-trading-bot

Python-based quantitative trading bot for UniSwap V2, designed for efficient token swaps across various EVM-compatible blockchains.
https://github.com/joebb10/crypto-trading-bot

arbitrage crypto crypto-trading-bot-github quantitative-finance trading-algorithms web3 web3py

Last synced: 5 months ago
JSON representation

Python-based quantitative trading bot for UniSwap V2, designed for efficient token swaps across various EVM-compatible blockchains.

Awesome Lists containing this project

README

          

# UniSwap Quantitative Trading Bot

Automate cryptocurrency trading on UniSwap V2 using this Python-based quantitative trading bot. This bot is designed to execute efficient token swaps across various EVM-compatible blockchains.

## Features

- **Automated Trading:** Executes trades based on predefined strategies using technical indicators.
- **Ethereum Blockchain:** Interacts with UniSwap V2 and other EVM-compatible blockchains via smart contract interactions.
- **Technical Indicators:** Utilizes indicators like RSI, MACD, and linear regression for decision-making.
- **Database Integration:** Stores transaction history and price data in SQLite for analysis.
- **Customizable:** Easily adjust trading parameters and strategies to suit your preferences.

## Setup

### Prerequisites

- Python 3.x
- [dotenv](https://pypi.org/project/python-dotenv/)
- [web3.py](https://web3py.readthedocs.io/en/stable/)
- [numpy](https://numpy.org/)
- [pandas](https://pandas.pydata.org/)
- [sklearn](https://scikit-learn.org/stable/)
- [sqlite3](https://docs.python.org/3/library/sqlite3.html)

### Installation

1. Clone the repository:
```bash
git clone https://github.com/joebb10/Crypto-Trading-Bot.git
cd Crypto-Trading-Bot
2. Install dependencies:
```bash
pip install -r requirements.txt

3. Set up environment variables:

- Create a `.env` file in the root directory.

- Add your environment variables:

PRIVATE_KEY=your_private_key_here

### Run the bot
```bash
python3 bot.py
```
- Monitor the bot's activity and adjust strategies as needed.

## Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your improvements.

# Donate

If you find this repository useful and would like to support its development, consider making a donation to the following wallet address:

```bash
0x86FFC6C3782D2b551c5dF462eD5B47d56c539F19
```

Your contributions help maintain and improve this repository for the community. Thank you for your support!