alpha-arena-okx  by oficcejo

AI-driven Bitcoin trading bot with automated execution and risk management

Created 2 months ago
275 stars

Top 94.1% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides an automated Bitcoin trading bot leveraging AI models like DeepSeek for decision-making on the OKX exchange. Aimed at users seeking autonomous crypto trading, it offers a web-based monitoring interface and aims to reduce manual intervention, though it is presented as continuously improving and requires careful testing before significant capital deployment.

How It Works

The system utilizes AI models (DeepSeek default) to analyze market data and generate trading signals (buy/sell). A key advancement is the implementation of real-time, executable stop-loss and take-profit orders directly on the OKX exchange, enhancing risk management beyond simple price alerts. It employs a unidirectional position mode and features intelligent position sizing based on confidence levels, trend strength, and configurable base capital.

Quick Start & Requirements

  • Primary Install: Multiple deployment options are available:
    • Baota Panel: Recommended for VPS/cloud servers. Requires installing Baota Panel and its Python Project Manager.
    • Docker: Recommended for local/development environments. Requires Docker and Docker Compose.
    • Python Direct: For development and debugging. Requires Python 3.x, virtual environment, and pip install -r requirements.txt.
  • Prerequisites:
    • API keys for OKX (and optionally Binance).
    • DeepSeek API key (or alternative compatible AI model).
    • Python 3.x environment (for direct install).
    • Docker and Docker Compose (for Docker install).
    • Server/VPS (for Baota Panel).
  • Links:
    • Demo Site: ai-okx.zhongdu.net
    • Baota Deployment Guide: 宝塔面板部署指南.md (within repo)
    • Docker Deployment Guide: DOCKER部署指南.md (within repo)

Highlighted Details

  • Real-time Stop-Loss/Take-Profit: Automatically sets executable orders on OKX post-trade, offering immediate risk protection.
  • Advanced Web Monitoring: A Streamlit-based interface with a dark, professional theme displays account status, BTC price, P&L, AI decision analysis, and trade logs with dynamic visual effects.
  • Intelligent Position Management: Dynamically adjusts trade size based on AI confidence, trend strength, and configurable risk parameters.

Maintenance & Community

No specific details regarding maintainers, community channels (like Discord/Slack), or roadmap were found in the provided text.

Licensing & Compatibility

The license type is not explicitly stated in the provided README content. Compatibility for commercial use would require clarification on licensing terms.

Limitations & Caveats

The project is described as continuously improving, with strategies under ongoing testing. Users are cautioned against deploying significant capital until stable profitability is confirmed. The bot operates exclusively in unidirectional position mode, requiring specific account configuration. Performance and stability may vary based on market conditions and AI model effectiveness.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
20 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.