Conversation
upstox-security-review
previously approved these changes
Mar 25, 2026
…ehavior. This keeps compatibility with Python 3.9 (which the interactive-examples README already declares as the minimum)
upstox-security-review
approved these changes
Mar 25, 2026
KetanGupta12
approved these changes
Mar 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
interactive-examples/directory with 47 CLI scripts demonstrating real-world, read-only use cases of the Upstox APIpython <script>.py --token <TOKEN>with argparse, sharedutils.pyhelpers, and terminal-formatted outputtest_runner.pythat validates all 47 scripts against a live tokenupstox-python-sdkandplotextWhat's included
Key scripts
options_analytics/pcr_trend.py— Put-Call Ratio with per-strike breakdown + bullish/bearish signaloptions_analytics/iv_percentile.py— IV Percentile & IV Rank vs 1-year HV distributionoptions_analytics/implied_move.py— Expected move derived from ATM straddle pricingoptions_analytics/expiry_decay.py— Theta decay tracker for near-expiry premiumshistorical_analysis/vwap.py— VWAP from 1-min intraday candles with above/below signalhistorical_analysis/beta_calculator.py— Stock beta and correlation vs NIFTY 50historical_analysis/stock_correlation.py— Pairwise Pearson correlation matrix for 2+ stocksmarket_data/live_depth.py— Real-time 5-level market depth via WebSocket (2×2 grid)