A curated collection of personal utility projects and tools for development and everyday problem solving.
A real-time Profit and Loss (PnL) calculator for cryptocurrency trading, built with a web-based UI. It dynamically computes estimated earnings and potential losses based on user inputs.
- Real-time Calculation: No need for a "Calculate" button—results update instantly.
- Profit & Loss Estimation: Displays potential earnings and losses in USDT and percentage of capital.
- Leverage Support: Optional leverage input with an enable/disable checkbox.
- Responsive Design: Works across different screen sizes.
- Enter the current price, amount in USDT, take profit (TP), stop loss (SL), and fee.
- (Optional) Enable leverage and specify the leverage multiplier.
- The estimated PnL updates instantly based on the input values.
git clone https://github.com/razibit/Personal-Toolbox.git
cd Personal-Toolbox/PnL-Calculator
Then, open index.html
in a browser.
This project is open-source and available under the MIT License.