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

https://github.com/milojebtc/deepseek-trading-bot-v1-public

This is trading bot using deepseek as ai agent. This deepseek trading bot is written by javascript and provide higher efficiency in trading.
https://github.com/milojebtc/deepseek-trading-bot-v1-public

ai-agents deepseek javascript tradingbot trending

Last synced: 2 months ago
JSON representation

This is trading bot using deepseek as ai agent. This deepseek trading bot is written by javascript and provide higher efficiency in trading.

Awesome Lists containing this project

README

          

# DeepSeek-Trading Bot Design

(This is version 1 and you want more efficent and perfect bot for your trading, please contact to me!)

## 1. Core Features
- **Data Collection**: Fetch real-time and historical data from DexScreener or other sources.
- **Data Parsing**: Extract relevant information (e.g., price, volume, liquidity, market cap, etc.).
- **Data Storage**: Save data to a database for historical analysis.
- **Pattern Analysis**: Use machine learning or statistical methods to identify patterns.
- **Alert System**: Notify users when specific patterns (e.g., pump, rug pull) are detected.

## 2. Tech Stack
- **Programming Language**: JavaScript (Node.js)

### Libraries:
- `axios` or `node-fetch` for API calls
- `cheerio` for HTML parsing (if needed)
- `redis` or `PostgreSQL` for database storage
- `technicalindicators` for pattern analysis
- `telegram-bot-api` for Telegram notifications

### APIs:
- DexScreener API (if available) or web scraping.

## 3. Workflow
- **Fetch Data**: Use DexScreener's API or scrape the website to collect data.
- **Parse Data**: Extract key metrics (e.g., price, volume, liquidity).
- **Store Data**: Save parsed data into a database like Redis or PostgreSQL.
- **Analyze Data**: Identify patterns using statistical or machine learning models.
- **Generate Alerts**: Notify users when specific conditions are met.

### Integrated Features:
1. **Telegram Integration**:
- Real-time buy/sell notifications
- Manual trading commands (`/buy`, `/sell`)
- Status updates and alerts

2. **BonkBot Trading**:
- Automated trade execution based on signals
- Configurable trade size and slippage
- Trade confirmation with TX hashes

3. **Enhanced Security**:
- Integrated Rugcheck.xyz verification
- Supply distribution checks
- Dynamic blacklisting system

4. **Continuous Monitoring**:
- 24/7 market scanning
- 5-minute interval checks
- Automated anomaly detection

---

### **Setup Instructions**

1. **Replace placeholder values in `CONFIG`**:
- Telegram bot token
- Chat ID
- BonkBot API key
- Pair addresses to monitor

2. **Install required packages**:
```bash
npm install axios cheerio redis technicalindicators node-fetch telegram-bot-api
```

3. **Run the bot**:
```bash
node bot.js
```

---

### **Commands Available**
- `/start` - Show help menu
- `/buy ` - Execute manual buy order
- `/sell ` - Execute manual sell order
- Automatic alerts for detected opportunities

---

### **Recommended Improvements**
1. Add stop-loss/take-profit functionality
2. Implement portfolio balancing
3. Add multi-exchange support
4. Integrate backtesting framework
5. Add detailed risk management controls

---

### **Additional Notes**
- This bot uses a custom configuration file (`CONFIG`) to store important keys, like Telegram bot token and BonkBot API key. Be sure to replace the placeholders with your own credentials.
- The bot fetches data from DexScreener or other similar APIs, parses it, and uses the `technicalindicators` library to analyze the data for trading opportunities.
- Alerts are sent via Telegram, and trades can be executed automatically or manually based on user commands.

---

### **Package Dependencies**:

The `package.json` includes the following dependencies:
- `ccxt`: For integrating exchange data (optional for additional exchange support).
- `redis`: For storing data in a Redis database (optional, can be replaced with PostgreSQL or other database solutions).
- `technicalindicators`: For pattern analysis and identifying trading signals.
- `cheerio`: For HTML parsing (if you need to scrape web data).
- `jest` & `nock`: For testing and mocking API calls.

### **Testing**:
You can run the tests with Jest using:
```bash
npm test
```

For continuous testing with Jest in watch mode, run:
```bash
npm run test:watch
```

### ✉ Connect With Me:

[![Twitter Badge](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/MichalStefanow)
[![Mail Badge](https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white)](mailto:nikolic.miloje0507@gmail.com)
[![Telegram Badge](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge&logo=telegram&logoColor=white)](https://t.me/mylord1_1)
[![Skype Badge](https://img.shields.io/badge/Skype-00AFF0?style=for-the-badge&logo=skype&logoColor=white)](https://join.skype.com/ubWuVGchDEnU)
[![Discord Badge](https://img.shields.io/badge/Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.com/users/509337382810550280)