Skip to content

Repository files navigation

Volatility Surface Modeling

This is a frontend for modeling volatility curves/surfaces from Binance options data. You can select the underlying asset, choose expiration dates, and plot implied volatilities. This frontend project is meant to be used with vol-surface-modeling.

Link to project hosted on Vercel.

Features

  • Options Chain: Displays the options chain for a given underlying asset and expiration date.
  • Volatility Plotting: Visualizes implied volatilities for a selected option chain.
  • SVI Curve Parameterization: Fits an implied volatility curve using the SVI (Stochastic Volatility Inspired) model.
  • Custom Options Pricing: View the theoretical arbitrage-free implied volatility and premium for a custom option strike and expiration date.
  • Interactive UI: Built with Shadcn UI for a modern and responsive user interface.
  • TypeScript Support: Ensures type safety and better developer experience.

Built With

  • React
  • Vite
  • Tailwind CSS
  • TypeScript
  • Shadcn UI

Getting Started

To get a local copy up and running follow these simple example steps.

Pre-requisites

  • Node.js (v18 or later)
  • npm or yarn

Installation

  1. Install and run the server from the [volatility-surface-server].
  2. Clone this repository:
    git clone git@github.com:afan2g/vol-surface-frontend.git
  3. Install NPM packages:
    npm install
    or
    yarn install
  4. Clone and run the API server from vol-surface-modeling
  5. Set up environment variables:
    • Create a .env file in the root directory.
    • Add the following variables:
      VITE_API_URL=http://localhost:5000/api
      
  6. Start the development server:
    npm run dev
    or
    yarn dev
  7. Change git remote url to avoid accidental pushes to base project
    git remote set-url origin github_username/repo_name
    git remote -v # confirm the changes
  8. Open your browser and navigate to http://localhost:5173 to view the application.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Aaron Fan - af3623@columbia.edu

Project Link: https://github.com/afan2g/vol-surface-frontend

Acknowledgements

Releases

Packages

Contributors

Languages