- Clone the repository
- Install dependencies:
The application expects a CSV file named tradeHistory.csv
with the following columns:
- Date
- Symbol
- Side (Buy/Sell)
- Price
- Quantity
- Total
The application calculates and provides the following metrics:
-
Profit and Loss (P&L)
- Total P&L
- Daily P&L
- Per-symbol P&L
-
Trade Statistics
- Number of trades
- Win rate
- Average win size
- Average loss size
- Risk-reward ratio
-
Position Analysis
- Maximum drawdown
- Average position size
- Position duration
The application generates reports with detailed performance metrics in both console output and saved files.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
For support or questions, please open an issue in the GitHub repository.