Skip to content

razibit/Personal-Toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Personal-Toolbox

A curated collection of personal utility projects and tools for development and everyday problem solving.

PnL Calculator

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.

Features

  • 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.

Live Demo

🔗 PnL Calculator

How to Use

  1. Enter the current price, amount in USDT, take profit (TP), stop loss (SL), and fee.
  2. (Optional) Enable leverage and specify the leverage multiplier.
  3. The estimated PnL updates instantly based on the input values.

Installation (Local Development)

git clone https://github.com/razibit/Personal-Toolbox.git
cd Personal-Toolbox/PnL-Calculator

Then, open index.html in a browser.

License

This project is open-source and available under the MIT License.


About

A curated collection of personal utility projects and tools for development and everyday problem solving.

Resources

License

Stars

Watchers

Forks

Languages