The Options Trade Calculator and Logging Tool is a MERN stack application that enables users to manage and analyze options trades. It provides a user-friendly interface for recording trades, calculates returns, and offers a comprehensive log for tracking and analyzing historical option transactions.
The Options Trade Calculator and Logging Tool is a full-stack application built with the MERN (MongoDB, Express.js, React.js, Node.js) stack. It provides an intuitive interface for users to manage and analyze their options trades. The tool calculates returns, maintains a comprehensive log of historical option transactions, and offers features for in-depth trade analysis.
- User-friendly interface for recording and managing options trades.
- Calculation of returns for each trade.
- Comprehensive logging system for historical option transactions.
- Intuitive tools for tracking and analyzing trades.
-
Clone the repository:
git clone https://github.com/abhishekbhave26/Options-Tracker.git
-
Change into the
backend
directory:cd backend
-
Install dependencies:
npm install
-
Set up the environment variables (see Environment Variables).
-
Start the backend development server:
npm start
-
Open new terminal and Change into the
options-tracker-frontend
directory:cd options-tracker-frontend
-
Install dependencies:
npm install
-
Start the frontend:
npm start
-
Start the backend production server:
cd backend npm run start-prod
-
Open new terminal and Change into the
options-tracker-frontend/build
directory and Start the frontend:cd options-tracker-frontend/build serve
- Access the application at http://localhost:your-port in your web browser.
- Record and manage your options trades using the user-friendly interface.
The application uses environment variables for configuration. Create a .env.dev
file in the backend
directory with the following variables:
NODE_ENV=dev
PORT=3000
ATLAS_URI=your_conn_string
-
Run the tests using the following command:
bash npm test
-
To generate a test coverage report:
bash npm run coverage
- Please check package.json
This project is licensed under the ISC License.
Abhishek Bhave
Connect with me on LinkedIn