Skip to content
/ indexswapy Public

A powerful financial instrument converter for NDX, QQQ, NQ, SPY, and ES values. Features real-time ratios, multiple input formats, and a clean interface. Built with JavaScript and deployed on Netlify.

License

Notifications You must be signed in to change notification settings

59n/indexswapy

Repository files navigation

IndexSwapy

A powerful financial instrument converter for NDX, QQQ, NQ, SPY, and ES values. Convert between different index products with real-time ratios.

Version License

Features

  • Convert between multiple financial instruments:
    • QQQ ↔ NDX
    • QQQ ↔ NQ
    • SPY ↔ ES
  • Real-time conversion ratios
  • Multiple input formats (comma, space, or dash separated)
  • Clean, responsive interface
  • Automatic ratio updates
  • Input validation and error handling
  • Results caching for better performance

Live Demo

Visit: indexswapy.netlify.app

Input Formats

The converter accepts various input formats:

450, 449, 448           # Comma separated
450 449 448             # Space separated
450-449-448             # Dash separated
450, 449 - 448         # Mixed format

Development

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)

Installation

  1. Clone the repository:
git clone https://github.com/59n/indexswapy.git
cd indexswapy
  1. Install dependencies:
npm install
  1. Start the development server:
npm start
  1. Run tests:
npm test

Project Structure

indexswapy/
├── src/               # Source files
│   └── indexswapy.js  # Main converter logic
├── test/              # Test files
│   └── test-indexswapy.js
├── index.html         # Main application
├── netlify.toml       # Netlify configuration
├── package.json       # Project configuration
└── README.md         # Project documentation

Contributing

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

License

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

About

A powerful financial instrument converter for NDX, QQQ, NQ, SPY, and ES values. Features real-time ratios, multiple input formats, and a clean interface. Built with JavaScript and deployed on Netlify.

Resources

License

Contributing

Stars

Watchers

Forks