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.
- Host: GitHub
- URL: https://github.com/milojebtc/deepseek-trading-bot-v1-public
- Owner: milojeBtc
- Created: 2025-01-06T07:47:14.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-02-01T21:52:08.000Z (8 months ago)
- Last Synced: 2025-04-23T18:46:57.492Z (6 months ago)
- Topics: ai-agents, deepseek, javascript, tradingbot, trending
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 alerts2. **BonkBot Trading**:
- Automated trade execution based on signals
- Configurable trade size and slippage
- Trade confirmation with TX hashes3. **Enhanced Security**:
- Integrated Rugcheck.xyz verification
- Supply distribution checks
- Dynamic blacklisting system4. **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 monitor2. **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:
[](https://twitter.com/MichalStefanow)
[](mailto:nikolic.miloje0507@gmail.com)
[](https://t.me/mylord1_1)
[](https://join.skype.com/ubWuVGchDEnU)
[](https://discord.com/users/509337382810550280)