A powerful tool for analyzing Solana wallet performance, calculating PnL, win rates, and holding periods. This tool helps identify profitable trading patterns and successful wallets on the Solana blockchain.
- Analyze wallet transactions and performance metrics
- Calculate PnL (Profit and Loss)
- Determine win rates and average holding periods
- Filter wallets based on customizable criteria
- Export results to CSV format
- Real-time price data from Birdeye API
- Clone the repository:
git clone https://github.com/OkoyaUsman/solana-wallet-analyzer.git
cd solana-wallet-analyzer- Install required dependencies:
pip install -r requirements.txt- Create a
.envfile in the project root and add your Birdeye API key:
BIRDEYE_API_KEY=your_api_key_here-
Prepare your wallet list:
- Create a
solana_wallets.csvfile with wallet addresses (one per line)
- Create a
-
Run the analyzer:
python bot.py-
Enter the analysis parameters when prompted:
- Minimum wallet capital
- Minimum average holding period
- Minimum total PnL
- Minimum win rate
- Timeframe to analyze
-
Results will be saved in a CSV file with timestamp
The following parameters can be customized in the code:
- Minimum wallet capital
- Minimum average holding period
- Minimum total PnL
- Minimum win rate
- Analysis timeframe options (1h, 4h, 1d, 1w, 1m)
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For assistance, customization, or further help, contact me on Telegram: @okoyausman
This tool is for educational and research purposes only. Use at your own risk. The developers are not responsible for any financial losses incurred while using this tool.