Track your crypto portfolio with AI-powered insights directly in Telegram
Features β’ Installation β’ Usage β’ Contributing β’ License
Cryptiq is in early development (v0.1.0). This bot is experimental and under active development. Features may change, and bugs are expected. Use at your own risk.
Cryptiq does NOT provide financial, investment, or trading advice. All information and analysis provided by this bot is for informational and educational purposes only. You are solely responsible for your investment decisions. The developers and maintainers of Cryptiq are NOT liable for any losses, damages, or consequences resulting from the use of this bot.
Cryptiq is a powerful Telegram bot that helps you:
- π Track your cryptocurrency portfolio in real-time
- π° Monitor your total portfolio value and individual holdings
- π Set price alerts for your favorite coins
- π° Get the latest crypto news and market updates
- π€ Receive AI-powered market insights and analysis
- π Use the bot in multiple languages
- π Keep your data private and secure
All from the convenience of your Telegram app!
- Portfolio Management - Track multiple cryptocurrencies and your total portfolio value
- Real-Time Prices - Get up-to-date price data from CoinGecko API
- Price Alerts - Set custom alerts for specific price targets
- Performance Tracking - Monitor portfolio changes over time with charts
- Bank Balance - Track your fiat currency alongside crypto holdings
- Trading Strategy - Document your investment approach
- Market Analysis - Get AI-generated insights about market trends
- Smart Responses - Natural language interaction with the bot
- Personalized Recommendations - Tailored to your portfolio and strategy
- Multi-Language Support - Available in multiple languages
- Interactive Menus - Easy-to-use button-based navigation
- Portfolio Visualizations - Pie charts and line graphs
- Privacy-First - Your data stays on your server, never shared
- Easy Setup - Simple onboarding process
- Python 3.8 or higher - Download here
- Telegram Account - To create and use the bot
- OpenAI API Key - For AI features Get here
- Git (optional) - Download here
git clone https://github.com/yourusername/cryptiq.git
cd cryptiqOr download the ZIP file from GitHub and extract it.
Create a virtual environment (recommended):
# Create virtual environment
python -m venv venv
# Activate it
# On Windows:
venv\Scripts\activate
# On Mac/Linux:
source venv/bin/activate
# Install requirements
pip install -r requirements.txt-
Copy the example environment file:
# On Windows: copy .env.example .env # On Mac/Linux: cp .env.example .env
-
Edit
.envand add your API keys:-
TELEGRAM_TOKEN - Get from @BotFather on Telegram
- Message @BotFather and type
/newbot - Follow the prompts to create your bot
- Copy the token BotFather gives you
- Message @BotFather and type
-
OPENAI_API_KEY - Get from OpenAI Platform
- Create an OpenAI account
- Go to API keys section
- Create a new API key
- Copy the key (you won't see it again!)
Your
.envfile should look like:TELEGRAM_TOKEN=1234567890:ABCdefGHIjklMNOpqrsTUVwxyz OPENAI_API_KEY=sk-proj-abcdefghijklmnopqrstuvwxyz
-
python main.pyYou should see: Cryptiq bot is running...
-
Find your bot on Telegram
- Search for the bot name you chose with BotFather
- Or click the link BotFather provided
-
Start interacting
- Type
/startto begin - Follow the onboarding process
- Set up your portfolio
- Type
| Command | Description |
|---|---|
/start |
Start the bot or reset your profile |
/menu |
Show main menu with interactive buttons |
/portfolio |
View your current portfolio and performance |
/setbank |
Set or update your bank balance |
/setholdings |
Add or update crypto holdings |
/setstrategy |
Define your trading strategy |
/setalert |
Create price alerts for specific coins |
/news |
Get latest cryptocurrency news |
/settings |
Configure bot settings |
/language |
Change interface language |
/deleteprofile |
Delete all your data from the bot |
/help |
Show all available commands |
You: /start
Bot: Welcome to Cryptiq! Let's set up your portfolio...
You: /setbank 10000
Bot: Bank balance set to $10,000
You: /setholdings BTC 0.5
Bot: Holdings updated: 0.5 BTC
You: /portfolio
Bot: [Shows your portfolio with charts and current values]
You: /setalert BTC 50000
Bot: Alert set! I'll notify you when BTC reaches $50,000
cryptiq/
βββ main.py # Main entry point, bot initialization
βββ handlers.py # Command and message handlers
βββ utils.py # Utility functions (API calls, charts, etc.)
βββ database.py # Data storage and retrieval
βββ keyboards.py # Telegram keyboard layouts
βββ requirements.txt # Python dependencies
βββ .env.example # Environment variables template
βββ .gitignore # Git ignore rules
βββ README.md # This file
βββ LICENSE # MIT License
βββ CONTRIBUTING.md # Contribution guidelines
βββ CODE_OF_CONDUCT.md # Community guidelines
βββ PRIVACY_POLICY.md # Privacy policy
βββ CHANGELOG.md # Version history
- Python 3.8+ - Core programming language
- python-telegram-bot - Telegram Bot API wrapper
- OpenAI API - AI-powered responses and analysis
- CoinGecko API - Real-time cryptocurrency data
- matplotlib - Chart generation
- requests - HTTP requests
- python-dotenv - Environment variable management
- pytz - Timezone handling
- API Keys: Stored in
.envfile (never commit this file!) - User Data: Stored locally in JSON files on your server
- Data Sharing: Your data is NEVER shared with third parties
- Data Deletion: Use
/deleteprofileto permanently delete your data - Open Source: Full transparency - inspect the code yourself
See PRIVACY_POLICY.md for complete details.
We love contributions! Whether it's:
- π Bug reports
- π‘ Feature requests
- π Documentation improvements
- π§ Code contributions
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
- Unit tests and CI/CD pipeline
- Exchange API integration (Binance, Coinbase)
- Automated trading capabilities
- Advanced portfolio analytics
- Historical performance tracking
- Price prediction models
- Trade signal generation
- Multi-exchange support
- DeFi protocol integration
- NFT portfolio tracking
- Web dashboard
- Mobile apps (iOS & Android)
- Desktop application
- Community features & leaderboards
- Premium subscription tier
See CHANGELOG.md for completed features and version history.
This project is licensed under the MIT License - see the LICENSE file for details.
IMPORTANT: Cryptiq is provided "as is" without warranty of any kind. This bot:
- Does NOT provide financial advice
- Should NOT be used as the sole basis for investment decisions
- May contain bugs or inaccuracies
- Is NOT responsible for any financial losses
Always do your own research (DYOR) and consult with licensed financial advisors before making investment decisions.
Bot won't start?
- Check Python version:
python --version(should be 3.8+) - Verify all dependencies are installed
- Confirm
.envfile exists and contains valid API keys - Check terminal for error messages
Bot not responding in Telegram?
- Ensure the bot is running (
Cryptiq bot is running...message) - Verify your Telegram token is correct
- Check if BotFather shows your bot as active
- Look for errors in terminal output
API errors?
- Verify OpenAI API key is valid and has credits
- Check CoinGecko API rate limits
- Ensure internet connection is stable
Still need help?
- Open an issue
- Check existing issues for solutions
- Join our community discussions
- python-telegram-bot - Excellent Telegram Bot framework
- CoinGecko - Free cryptocurrency API
- OpenAI - Powering AI features
- All contributors who help improve Cryptiq
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: your-email@example.com
β Star this repo if you find it useful!
Made with β€οΈ by Gavin Galan
Report Bug β’ Request Feature β’ View Roadmap