{"id":27275172,"url":"https://github.com/solrikk/cripto-boats","last_synced_at":"2025-07-10T15:35:49.070Z","repository":{"id":259778497,"uuid":"879407517","full_name":"Solrikk/Cripto-Boats","owner":"Solrikk","description":"CryptoBoat is an advanced cryptocurrency trading bot powered by artificial intelligence. It combines LSTM neural networks and Random Forest algorithms to make intelligent trading decisions in the cryptocurrency futures market.","archived":false,"fork":false,"pushed_at":"2025-03-09T14:37:48.000Z","size":3749,"stargazers_count":15,"open_issues_count":1,"forks_count":8,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-25T11:49:11.992Z","etag":null,"topics":["ai","aitrade","aitraderbot","bybit","bybit-api","bybit-trader","cripto","lstm-model","money","trade","trade-bot","tradeai","trading","trading-algorithms","trading-api","trading-strategies"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Solrikk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-27T20:21:58.000Z","updated_at":"2025-03-09T14:37:51.000Z","dependencies_parsed_at":"2025-03-08T20:11:22.596Z","dependency_job_id":"884de125-fe5f-45fc-8556-876c25a4cf05","html_url":"https://github.com/Solrikk/Cripto-Boats","commit_stats":null,"previous_names":["solrikk/cryptoboat","solrikk/small-boats","solrikk/cripto-boats"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solrikk%2FCripto-Boats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solrikk%2FCripto-Boats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solrikk%2FCripto-Boats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solrikk%2FCripto-Boats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Solrikk","download_url":"https://codeload.github.com/Solrikk/Cripto-Boats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248431885,"owners_count":21102285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","aitrade","aitraderbot","bybit","bybit-api","bybit-trader","cripto","lstm-model","money","trade","trade-bot","tradeai","trading","trading-algorithms","trading-api","trading-strategies"],"created_at":"2025-04-11T15:33:00.168Z","updated_at":"2025-04-11T15:33:00.893Z","avatar_url":"https://github.com/Solrikk.png","language":"Python","readme":"![Logo](https://s3.timeweb.cloud/68597a50-pictrace/photo_2024-11-12_03-23-43.jpg)\n\n-----------------\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003e\n    \u003ca href=\"https://github.com/Solrikk/CryptoBoat/blob/main/README.md\"\u003e⭐English⭐\u003c/a\u003e |\n    \u003ca href=\"https://github.com/Solrikk/CryptoBoat/blob/main/docs/readme/README_RU.md\"\u003eRussian\u003c/a\u003e |\n    \u003ca href=\"https://github.com/Solrikk/CryptoBoat/blob/main/docs/readme/README_GE.md\"\u003eGerman\u003c/a\u003e |\n    \u003ca href=\"https://github.com/Solrikk/CryptoBoat/blob/main/docs/readme//README_JP.md\"\u003eJapanese\u003c/a\u003e |\n    \u003ca href=\"https://github.com/Solrikk/CryptoBoat/blob/main/docs/readme/README_KR.md\"\u003eKorean\u003c/a\u003e |\n    \u003ca href=\"https://github.com/Solrikk/CryptoBoat/blob/main/docs/readme/README_CN.md\"\u003eChinese\u003c/a\u003e\n  \u003c/h3\u003e\n\u003c/div\u003e\n\n## ⚠️ IMPORTANT DISCLAIMER ⚠️\n### This trading bot is currently in EXPERIMENTAL/BETA testing phase. By using this software:\n1. **Cryptocurrency Trading Risks:** You acknowledge that trading cryptocurrencies involves substantial risks, including the potential loss of your invested capital.\n2. **Technological Limitations:** The bot utilizes Artificial Intelligence and Machine Learning (AI/ML) models that are still undergoing testing and improvements. This may lead to unforeseen errors or inaccurate signals.\n3. **Liability for Losses:** You accept full responsibility for any financial losses that may occur as a result of using this bot.\n4. **No Guarantee of Performance:** Past performance does not guarantee future results. The cryptocurrency market is highly volatile and can change rapidly.\n5. **Capital Management:** Trade only with funds you can afford to lose. Do not invest money that is necessary for your living expenses or other essential purposes.\n6. **No Financial Advice:** This software is NOT financial advice. Use it at your own risk and consult with professional financial advisors before making investment decisions.\n\n## Support the Project 💖\n\nIf you've found this project helpful or profitable, consider supporting its development:\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/Solrikk/Cripto-Boats/blob/main/assets/photo/photo_2025-03-09_17-35-29.jpg\" alt=\"Donation QR Code\" width=\"400\"/\u003e\n\u003c/div\u003e\n\nCode - **bc1q80hqj3crwysc5nwd6u8pzc6lrsau6peuvrz6te**\n\nYour donations help maintain and improve the project, ensuring its continued development and enhancement.\n\n# Small-Boats 🚀\n\n----\n\n## Overview 📊\n\n**CryptoBoat** is a **semi-automated cryptocurrency trading system** that emphasizes manual control over key trading decisions while managing multiple positions simultaneously. Unlike fully automated bots, this strategy allows you to:\n\n[![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2FSolrikk%2FSmall-Boats\u0026label=Views\u0026countColor=%232ccce4)](https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2FSolrikk%2FSmall-Boats)\n[![GitHub stars](https://img.shields.io/github/stars/Solrikk/Small-Boats?style=flat\u0026logo=github\u0026color=yellow)](https://github.com/Solrikk/Small-Boats/stargazers)\n[![Profile Views](https://komarev.com/ghpvc/?username=Solrikk\u0026color=brightgreen\u0026style=flat\u0026label=Profile+Views)](https://github.com/Solrikk)\n[![GitHub license](https://img.shields.io/github/license/Solrikk/Small-Boats?color=blue\u0026style=flat)](https://github.com/Solrikk/Small-Boats/blob/main/LICENSE)\n[![Python](https://img.shields.io/badge/Python-3.7%2B-blue?style=flat\u0026logo=python)](https://www.python.org)\n[![FastAPI](https://img.shields.io/badge/FastAPI-modern-green?style=flat\u0026logo=fastapi)](https://fastapi.tiangolo.com)\n\n\n- Manually control Take-Profit and Stop-Loss levels\n- Open multiple strategic positions across different assets\n- Benefit from risk diversification through position spreading\n- Offset potential losses with gains from other positions\n\n## Technical Details 🔧\n\n### AI Models Used\n1. **LSTM (Long Short-Term Memory)**\n   - Specialized neural network for time series prediction\n   - Capable of learning long-term dependencies\n   - Optimized for cryptocurrency price movement patterns\n   - Uses multiple technical indicators for enhanced accuracy\n\n![LSTM](https://github.com/Solrikk/Small-Boats/blob/main/assets/photo/41598_2019_55861_Fig1_HTML.png)\n\n2. **Random Forest**\n   - Ensemble learning algorithm\n   - Combines multiple decision trees\n   - Reduces overfitting through aggregation\n   - Provides robust market trend predictions\n\n![LSTM](https://github.com/Solrikk/Small-Boats/blob/main/assets/photo/057fdd00-3964-11ea-9859-07aa53d55407.png)\n\n### Technical Indicators\n- RSI (Relative Strength Index)\n- EMA (Exponential Moving Average)\n- MACD (Moving Average Convergence Divergence)\n- Bollinger Bands\n- Ichimoku Cloud\n- VWAP (Volume Weighted Average Price)\n- ATR (Average True Range)\n\n## Performance Features 🎯\n\n- Real-time market data processing\n- Multi-timeframe analysis\n- Advanced risk management system\n- Position size optimization\n- Automated entry/exit signals\n- Portfolio rebalancing\n- Custom indicator combinations\n\n## Technical Architecture 🔧\n\n### System Components\n1. **Neural Networks**\n   - LSTM Network: 2-layer bidirectional architecture\n   - Input shape: (60, 18) - 60 timeframes, 18 features\n   - Hidden layers: 100 units each with dropout (0.3)\n   - Output: Binary classification (buy/sell signal)\n\n2. **Random Forest Classifier**\n   - Ensemble of 100 decision trees\n   - Feature flattening: 1080 dimensions (60 timeframes × 18 features)\n   - Class balancing with SMOTE\n   - Parallel prediction processing\n\n3. **Technical Indicators**\n   - Price-based: EMA, Bollinger Bands, Ichimoku\n   - Momentum: RSI, MACD, Stochastic\n   - Volume: VWAP\n   - Volatility: ATR\n\n## Installation \u0026 Setup 🛠️\n\n### Prerequisites\n- Python 3.8+\n- GPU recommended for faster model training\n- Minimum 4GB RAM\n- Bybit account with API access\n\n### Step-by-Step Installation\n\n1. **Initialize Project:**\n```bash\ngit clone https://github.com/Solrikk/CryptoBoat.git\ncd CryptoBoat\n```\n\n2. **Install Required Packages:**\n```bash\npip install numpy pandas tensorflow scikit-learn ta ccxt matplotlib\n```\n\n3. **Configure Exchange:**\nUpdate `main.py` with your Bybit API credentials:\n```python\nAPI_KEY = \"your_api_key\"    # From Bybit dashboard\nAPI_SECRET = \"your_api_secret\"\n```\n\n4. **Configure Risk Parameters:**\nIn `main.py`, adjust trading parameters:\n```python\nrisk_percentage = 0.3  # Risk per trade (0.3%)\nTRADE_COOLDOWN = 60   # Seconds between trades\n```\n\n### Running the Bot\n\n1. **Initial Launch:**\n```bash\npython main.py\n```\n\n2. **Monitor Operations:**\n- Check `trading_bot_derivatives.log` for real-time status\n- Review `trades_log.json` for trade history\n\n### System Architecture\n\n```\nInput Data → Feature Engineering → Model Prediction → Trading Logic\n    ↓              ↓                    ↓               ↓\nOHLCV Data → Technical Indicators → LSTM + RF → Position Management\n```\n\n### Performance Monitoring\n- Log files track all operations\n- Real-time balance updates\n- Trade execution confirmations\n- Error handling and reporting\n\n### Risk Management\n- Position sizing based on account balance\n- Maximum risk per trade: 0.3%\n- Trade cooldown period: 60 seconds\n- Automatic error recovery\n- Multiple validation layers\n\n### Error Handling\n- Network disconnect protection\n- API error recovery\n- Invalid data detection\n- Balance verification\n- Order validation\n\n## Usage Guide 📚\n\n1. Start the Bot:\n```bash\npython main.py\n```\n\n2. Monitor the Logs:\n- Check `trading_bot_derivatives.log` for detailed operation logs\n- Review trade history in `trades_log.json`\n\n3. Configure Risk Parameters:\n- Adjust position sizes in `calculate_position_size()`\n- Modify risk percentage (default: 0.3%)\n- Set custom stop-loss levels\n\n⚠️ **Remember**: Past performance does not guarantee future results. Always trade responsibly and within your risk tolerance.\n\n## Community \u0026 Support 🤝\n\n- Join our community discussions\n- Share your trading strategies\n- Report issues and suggest improvements\n- Help others get started\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolrikk%2Fcripto-boats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolrikk%2Fcripto-boats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolrikk%2Fcripto-boats/lists"}