Mytradingview
a simple trading view app
Install / Use
/learn @mnsrulz/MytradingviewREADME
MyTradingView
A powerful stock options analysis tool built with Next.js, designed to help users explore and analyze stock option data efficiently.
⚠️ Disclaimer:
This application is intended for educational and informational purposes only. It does not constitute financial advice and makes no guarantees about investment outcomes. Users are solely responsible for any decisions made using this application.
Features
- In-depth stock option analysis
- View the profit for any option symbol, including total and annual returns, to determine which option offers the best return.

- Put call ratio for any symbol

- Delta hedging exposure view for any symbol

- Gamma hedging exposure view for any symbol

- Integration with external trading APIs (tradier) for reading option data
- Responsive and intuitive user interface
Prerequisites
Before you get started, ensure you have the following installed:
- Node.js (LTS version recommended)
- PostgreSQL database (free cloud instance is available through supabase)
- Prisma CLI
Development Setup
To get started with development, follow these steps:
-
Clone the Repository
git clone https://github.com/mnsrulz/mytradingview.git cd mytradingview -
Install Dependencies
npm install -
Configure Environment Variables
Create a
.envfile in the root directory of the project and add the following environment variables:POSTGRES_PRISMA_URL=your_postgres_database_url AUTH_SECRET=test123 NEXTAUTH_URL=https://p63xdw4l-3000.use.devtunnels.ms/ TRADIER_TOKEN=your_tradier_api_token TRADIER_BASE_URI=https://sandbox.tradier.com/ WATCHLIST_UPDATE_FREQUENCY_MS=1000 -
Set Up the Database
Initialize the Prisma database:
npx prisma migrate devNOTE: The above command would reset the database (wipe any existing data)
Deploying the migrations without reseting the database
prisma migrate deployOR
npm run pdeploy -
Start the Development Server
npm run devYour application should now be running at
http://localhost:3000.
Staging and Production Environments
- Staging Environment: https://stage--mztrading.netlify.app/ Use admin as password.
- Production Environment: https://mztrading.netlify.app/
Deployment
To deploy the application, follow these steps:
-
Build the Application
npm run build -
Deploy to Your Preferred Platform
Follow the deployment instructions provided by your hosting provider. For example, if using Netlify:
netlify deploy --prod
Data Update Frequencies
| Data Type | Source | Update Frequency | |------------------|----------|---------------------------------------------------------------------------------------------------| | Delta/Gamma | Tradier | Updates every hour (Tradier documentation) | | | CBOE | Updates every 15 minutes (CBOE site) | | Open Interest| - | Updates overnight | | Volume | Tradier | live | | | CBOE | 15 minutes delay | | Spot Price | Tradier | Live updates in real time during market hours | | | CBOE | 15 minutes delayed during market hours |
Note: For Historical mode, the last closing price is used as the spot price for Delta/Gamma (DEX/GEX) charts
Contributing
We welcome contributions to the project! If you have suggestions or improvements, please follow these steps:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them.
- Push your branch and create a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Contact
For any questions or support, please open an issue on GitHub.
Thanks for exploring MyTradingView! We hope you find it useful for learning and research. 📊
Related Skills
node-connect
338.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.6kCommit, push, and open a PR
