The ROI Calculator for Cash Secured Puts is a simple web application that helps investors calculate the Return on Investment (ROI) from selling cash secured puts. It also allows users to fetch the latest stock prices using the Yahoo Finance API.
- Calculate ROI: Easily calculate the return on investment from cash secured puts.
- Fetch Stock Prices: Retrieve the latest stock prices using Yahoo Finance API.
- User-Friendly Interface: Simple and intuitive interface for quick calculations.
You can access a live demo of the application here.
N/A
To get a local copy up and running, you'll need the following tools:
- Git
- A web browser (Google Chrome, Firefox, etc.)
-
Clone the repository:
git clone https://github.com/your-username/roi-calculator.git
-
Navigate into the project directory:
cd roi-calculator
-
Open the
index.html
file in your web browser:You can simply double-click the
index.html
file or use a live server extension in your code editor.
-
Enter the stock ticker:
- Type the ticker symbol of the stock you're interested in (e.g.,
AAPL
for Apple Inc.) and click the "Fetch Stock Data" button.
- Type the ticker symbol of the stock you're interested in (e.g.,
-
Enter the premium earned:
- Input the premium amount you earned from selling the put option.
-
Enter the total investment:
- Input the total amount you invested to secure the put option.
-
Calculate ROI:
- Click the "Calculate ROI" button to see your return on investment.
Contributions are what make the open source community such an amazing place to learn, inspire, and create.
-
Fork the Project:
- Click on the "Fork" button on the top right corner of this repository's page.
-
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:
- Go to the "Pull requests" tab on the repository and click the "New pull request" button.
Project Link: https://github.com/Jim-Journey/roi-calculator