- Crypto Price Tracker: Comprehensive User Guide
Welcome to the Crypto Price Tracker! This application allows you to monitor cryptocurrency prices in real-time and receive notifications about significant price movements. Whether you're a seasoned trader or just curious about crypto markets, this tool will help you stay informed about the latest price changes.
- Python 3.9 or higher
- Internet connection
- Windows, macOS, or Linux operating system
-
Download the Crypto Price Tracker from https://github.com/cortega26/crypto-price-tracker.git.
-
Unzip the file to your desired location.
-
Open a terminal or command prompt.
-
Navigate to the unzipped folder:
cd path/to/crypto-price-tracker
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install the required packages:
pip install -r requirements.txt
-
In the terminal, ensure you're in the crypto-price-tracker directory and your virtual environment is activated.
-
Run the following command:
python run.py
-
This will open the configuration GUI.
-
API Key: Your Binance API key.
- How to get it: Log in to your Binance account, go to "API Management", and create a new API key.
- Keep this key secret and never share it with anyone.
-
API Secret: Your Binance API secret.
- This is provided when you create your API key.
- Keep this secret and never share it with anyone.
-
Email Host: The SMTP server address for your email provider.
- For Gmail: smtp.gmail.com
- For Outlook: smtp-mail.outlook.com
- For other providers, check their SMTP settings or contact their support.
-
Email Port: The port number for the SMTP server.
- Common ports are 587 (for TLS) or 465 (for SSL).
- Check your email provider's settings for the correct port.
-
Email Address: Your email address that will send notifications.
-
Email Password: The password for your email account.
- IMPORTANT: For many providers (like Gmail), you'll need to use an "App Password" instead of your regular password.
- How to create an App Password:
- Go to your email account settings.
- Look for "Security" or "App passwords".
- Create a new app password specifically for this application.
- Use this generated password in the configuration.
-
Email Recipients: Email addresses that will receive notifications.
- You can enter multiple addresses separated by commas.
- Example: user1@example.com, user2@example.com
-
Symbols of Interest: Cryptocurrency symbols you want to track.
- Enter the symbols exactly as they appear on Binance.
- Separate multiple symbols with commas.
- Example: BTCUSDT,ETHUSDT,ADAUSDT
- Leave blank to track all USDT futures.
-
Notification Threshold: The percentage change that triggers an alert.
- Enter a number (can include decimals).
- Example: 5.0 for a 5% change.
-
Notification Interval: Minimum time (in seconds) between notifications.
- This prevents spam if prices are very volatile.
- Example: 3600 for one hour.
-
Daily Digest Time: Time to receive a daily summary.
- Use 24-hour format (HH:MM).
- Example: 20:00 for 8:00 PM.
-
Percentage Change Timeframe: Time frame (in seconds) to calculate percentage change.
- Example: 3600 for one hour.
You can run the Crypto Price Tracker in two ways:
-
Open a terminal or command prompt.
-
Navigate to the crypto-price-tracker directory.
-
Activate your virtual environment (if not already activated).
-
Run the following command:
python run.py
-
This will first open the configuration GUI if needed, then start the tracker.
-
Open a terminal or command prompt.
-
Navigate to the crypto-price-tracker directory.
-
Activate your virtual environment (if not already activated).
-
Run the following command:
python src/main.py
-
This will start the tracker using the existing configuration without opening the GUI.
The Crypto Price Tracker sends several types of notifications:
- Price Movement Alerts: Sent when a tracked cryptocurrency's price changes by more than the specified notification threshold within the percentage change timeframe.
- All-Time High (ATH) Alerts: Sent when a tracked cryptocurrency reaches a new all-time high price.
- All-Time Low (ATL) Alerts: Sent when a tracked cryptocurrency reaches a new all-time low price.
- 90-Day High Alerts: Sent when a tracked cryptocurrency reaches its highest price in the last 90 days.
- 90-Day Low Alerts: Sent when a tracked cryptocurrency reaches its lowest price in the last 90 days.
- Daily Digest: A summary of the day's significant price movements, sent at the time specified in your configuration.
-
Configuration GUI doesn't open:
- Ensure you're in the correct directory.
- Check that your virtual environment is activated.
- Verify that all required packages are installed.
-
Email notifications not received:
- Check your spam folder.
- Verify your email configuration, especially if using Gmail or other providers with strict security.
- Ensure you're using an "App Password" if your email provider requires it.
-
No price updates:
- Check your internet connection.
- Verify your Binance API key and secret.
- Ensure the symbols you're tracking are valid and active on Binance.
-
Error messages:
- Read the error message carefully.
- Check the log file (price_tracker_gui.log) for more details.
- Verify all configuration fields are filled correctly.
Q: How often does the tracker update prices?
A: The tracker receives real-time updates from Binance's WebSocket API, so prices are updated almost instantly.
Q: Can I track cryptocurrencies from exchanges other than Binance?
A: Currently, the tracker only supports Binance. Support for other exchanges may be added in future versions.
Q: Is my API key and other sensitive information safe?
A: Yes, sensitive information like your API key and email password are stored securely using your system's keyring, not in plain text.
Q: Can I run the tracker on a server or Raspberry Pi?
A: Yes, as long as the system meets the requirements and has Python installed, you can run the tracker on various platforms.
Q: What happens if my internet connection drops?
A: The tracker will attempt to reconnect automatically. If it can't reconnect, it will log the error and exit.
- Never share your Binance API key, API secret, or email password with anyone.
- Use a dedicated email account for notifications if possible.
- Regularly update your passwords and API keys.
- Keep your system and Python environment up to date.
This Crypto Price Tracker is an open-source project maintained by a single developer (me). While direct support is limited, there are several ways to get help, report issues, or contribute to the project:
-
GitHub Issues: If you encounter bugs or have feature requests, please open an issue on the project's GitHub repository. This allows for tracking and public discussion of the topic.
-
Documentation: This user guide and the project's README file are regularly updated. Always check these resources first for the most up-to-date information.
-
Community Discussions: Feel free to start or join discussions in the GitHub Discussions section of the repository. This is a great place to ask questions, share experiences, or suggest improvements.
-
Contributing: If you have ideas for improvements or bug fixes, contributions via pull requests are welcome!
-
Stack Overflow: For general programming questions related to the technologies used in this project, Stack Overflow can be a valuable resource. Use relevant tags like "python", "cryptocurrency", or "binance-api".
Remember, as an open-source project, the Crypto Price Tracker thrives on community involvement. Your feedback, bug reports, and contributions help improve the tool for everyone.
To ensure the security of your Binance account and data:
- Use read-only API keys whenever possible.
- Regularly rotate your API keys (e.g., every 3-6 months).
- Set IP restrictions on your API key if possible.
- Never share your API keys or secrets with anyone.
- Monitor your API key usage regularly for any suspicious activity.
The price_tracker_gui.log file contains detailed information about the application's operation. To use it for troubleshooting:
- Open the log file in a text editor.
- Look for entries marked "ERROR" or "WARNING".
- Check the timestamps to correlate log entries with observed issues.
- If reporting an issue, include relevant log excerpts (make sure to remove any sensitive information).
Thank you for your interest in the Crypto Price Tracker!