Skip to main content

Options Trading

Calculator tools for options trading analysis and strategy planning.

Overview

A collection of Flask-based web applications for calculating key options trading metrics, including break-even points and stop-loss calculations.

Tech Stack

  • Backend: Python + Flask
  • Frontend: HTML templates with JavaScript
  • Styling: CSS
  • Deployment: Docker + Kubernetes

Calculators

Break-Even Calculator

  • Location: BE-Calculator/
  • Function: Calculates break-even points for call options
  • Formula: Strike Price + Entry Premium = Break-Even Price
  • Usage: Web interface and command-line tool

Stop-Loss Calculator

  • Location: SL-Calculator/
  • Function: Calculates optimal stop-loss levels
  • Features: Risk management and position sizing

Features

  • Web-based calculators with clean UI
  • RESTful API endpoints
  • Command-line interface support
  • Docker containerization
  • Kubernetes deployment ready

Development

cd BE-Calculator/
python main.py serve # Web server
python main.py # CLI mode