gexbot docs

research (gbR)

On-demand options analytics, 30+ slash commands, 3D volatility surfaces, AI market assistants, and Discord automation across US optionable equities.

gbR research platform terminal

The gbR Research Platform is an on-demand options intelligence and analytics engine. While gexbot streaming packages (Classic, State, Orderflow) track live market microstructure, Research enables deep cross-sectional and historical options analysis across all US optionable equities, ETFs, and index options.

Official Platform Documentation & Guide

gbR Interactive Research Guide & Terminal

The comprehensive visual documentation, interactive parameter builders, mathematical formulas, and live web terminal are maintained directly on the platform.

Open Full Research Guide on gexbot.com ↗

Operating Hours & Data Cadence

  • Regular Market Hours (09:30–16:00 ET):
    • Evaluates live option market quotes using the gbR pricing model.
    • Caches requests on 15-minute floor intervals on-demand.
  • Index Option Extended Hours (16:00–16:15 ET):
    • Index options (such as SPX and NDX) trade until 16:15 ET.
    • Requests submitted at or after 16:15 ET include trades from this 15-minute post-close window.
  • Premarket Hours (Before 09:30 ET):
    • Open Interest (OI) refreshes daily at 08:00 ET.
    • Calculations use previous session quotes under the gbR model. The premarket cache refreshes once after 08:00 ET.
    • Option volume metrics remain offline until the market opens at 09:30 ET.
  • After Hours, Final Snapshots & Weekends:
    • The final scheduled End-of-Day (EOD) snapshot generates every evening at 23:00 UTC (19:00 EDT / 18:00 EST).
    • After 17:00 ET, all after-hours queries return the stabilized closing snapshot from the session.
    • Requests on weekends and market holidays return the cached snapshot from the previous trading session.

Option Expiration & Settlement Cadence

  • Settlement Timestamps:
    • AM-Settled Series: Standard monthly index contracts expire at 10:00 ET on their expiration date.
    • PM-Settled Series: Daily and weekly equity and index contracts expire at 16:00 ET on their expiration date.
  • Expired Series Filtering:
    • Contracts drop immediately from active expirations and calculations once the market clock reaches their expiration timestamp.
    • DTE resolution, exposure metrics, and visual charts exclude expired contracts automatically.

Delivery Surfaces

The gbR engine operates across three distinct delivery surfaces:

1. Web Terminal Workspace

  • Interactive Command Palette: Run fast parameterized commands (!gex SPX strikes=15, !surface NVDA, !gamma_flip QQQ).
  • AI Research Assistant: Multi-model LLM market reasoning (Claude, GPT, Gemini, Groq) equipped with tools to retrieve live market data and chart metrics.
  • Real-Time Watchlists: Multi-asset monitoring tables with customizable columns and historical date/time scrubbers.
  • Command History & Favorites: Star frequently used commands for rapid one-click re-execution.
  • Zen Mode (/zenmode): Collapse all side panels for a distraction-free analysis workspace.

2. gbR Discord Bot

  • Native Slash Commands: Every metric is its own command — /gex symbol:SPX, /iv mid symbol:SPY end_dte:30, /oi symbol:QQQ. Discord autocompletes the command, the symbol and every option.
  • /help Inside Discord: Generated from the same catalog that registers the commands, so it never falls behind the bot.
  • Automated Watchlist Threads: /watch ticker:SPX joins this server's watchlist thread for a ticker, and creates it when it does not exist.
  • Server Administration: Manage guild authorizations, channel whitelisting, role gating, and daily usage quotas in the User Portal.

See the gbR Discord command reference for every command, option and default.

3. Programmatic REST API

  • On-Demand Endpoints: Query charts, 3D volatility surfaces, and tabular datasets programmatically via GET /research/{TICKER}/{METRIC}.
  • Supported Formats: Image asset descriptors (webp, png, svg, jpeg, pdf) and raw data (json, csv).

Workspace Layout & System Commands

The Web Terminal interface includes a central conversation workspace and three configurable panels:

  1. Sidebar (Chats & Watchlists): Manage conversation sessions and stream real-time watchlist feeds.
  2. Tools Panel (Command Builder): Toggle between compact metric chips and an expanded parameter builder tree.
  3. Command History & Favorites Panel: Review executed commands, re-run queries, and manage starred favorites.

System Commands (/ Commands)

System commands control UI layout, conversation context, and AI providers:

CommandCategoryDescription
/zenmodeView ControlToggles Zen Mode to hide all side panels and the top bar.
/toolsView ControlToggles visibility of the Tools panel (Command Builder).
/chatsView ControlToggles visibility of the Chats sidebar.
/commandsView ControlToggles visibility of the Command History panel.
/topbarView ControlToggles visibility of the application top bar.
/resetView ControlResets workspace layout and panel sizes to defaults.
/newchatChat ControlStarts a new conversation context.
/clearChat ControlClears message history in the active conversation.
/clear historyChat ControlClears command execution history.
/clear allChat ControlClears both messages and command history.
/helpGeneralDisplays keyboard shortcuts and system command reference.
/docsGeneralLists all available research commands.
/docs [command]GeneralDisplays detailed documentation for a specific command.
/model [provider]AI SettingsSwitches active AI provider (groq, claude, gemini, openai).

Global Parameter Taxonomy

Research commands accept optional key-value parameters using parameter=value syntax:

ParameterTypeDefaultAccepted ValuesDescription
viewstringskewskew, term, surface, mirror (implied-volatility metrics only)Sets chart visualization mode.
type / draw_typestringline (bar for oi, volume and exposure metrics; scatter for parity)bar, line, histogram, scatterSelects series rendering style.
strikesint15 (50 for oi and volume, 30 for exposure metrics)Integer 5-250 (values outside the range are clamped)Number of strikes displayed around spot price.
start_dteint0Integer 0-1000Start days-to-expiration horizon (inclusive).
end_dteint98 (365 for view=term, 64 for max_pain)Integer 0-1000End days-to-expiration horizon (inclusive).
expiration_filterstringNonem (monthlies), w (weeklies), q (quarterlies)Restricts calculations to specific expiration cycles.
contract_filterstringallall, calls, putsFilters contracts by option type.
moneyness_filterstringNoneotm, ntm, itm, atm, d10, d15, d20, d25Filters contracts by moneyness or delta bucket.
contract_aggbooltruetrue, falsetrue nets calls minus puts per strike. false plots calls positive and puts negative.
expiry_aggboolfalsetrue, falsetrue aggregates all expiries across each strike.
skew_adjboolfalsetrue, falseAdjusts Greek calculations for volatility skew.
limit_ybooltruetrue, falseClamps Y-axis scale to reduce outlier distortion. Send limit_y=false to disable the clamp.
seriesstringNonedeltas, moneyness, strikesFor IV term view, plots term structure across delta tiers (5Δ, 20Δ, 30Δ, 50Δ).
formatstringwebpwebp, png, svg, jpeg, pdf, csv, jsonSelects response output format.
themestringdarkdark, lightSets color palette for rendered chart assets.

Comprehensive Command Catalog

All Greek exposure commands require a data source suffix:

  • _oi: Calculated from Open Interest.
  • _vol: Calculated from Intraday Volume.
  • _both: Calculated from Open Interest + Volume.

1. Market Data Commands

CommandTitleDefault ParametersDescription
!oi [ticker]Open Intereststrikes=50 view=skew start_dte=0 end_dte=98Displays Call OI (positive) and Put OI (negative) by strike.
!volume [ticker]Volumestrikes=50 view=skew start_dte=0 end_dte=98Displays session option trading volume by strike.
!gamma_flip [ticker]Gamma Flipstart_dte=0 end_dte=98Identifies gamma inflection level and tracks Gamma, Call, and Put Walls.
!parity [ticker]Put/Call Parityview=skew start_dte=0 end_dte=98Plots call-put price spreads against theoretical fair value.

2. Implied Volatility Commands

CommandTitleDescriptionKey Visual Elements
!iv_mid [ticker]IV (Mid)Plots implied volatility curve calculated at the mid-market price.Smile curve, IV30/IV60 benchmarks, HV10–HV60 benchmarks, 1Y high markers.
!iv_ask [ticker]IV (Ask)Plots implied volatility curve calculated at the ask price.Shows ask-side volatility premium.
!iv_bid [ticker]IV (Bid)Plots implied volatility curve calculated at the bid price.Shows bid-side volatility discount.
  • Term Structure View (view=term): Renders forward volatility curves (50Δ ATM, 25Δ skew wings, and VIX 24–37 DTE window).
  • 3D Surface View (view=surface): Builds interactive 3D volatility surfaces across strikes and expiration dates.

3. Primary Greek Exposures (1st Order)

MetricSuffix CommandsMathematical DefinitionFinancial Meaning
Delta (DEX)!dex_oi, !dex_vol, !dex_bothDelta × S × 100 × ContractsDollar notional underlying share-equivalent exposure.
Vega (VEX)!vex_oi, !vex_vol, !vex_bothVega × 0.01 × 100 × ContractsP&L sensitivity for every 1.00 point shift in implied volatility.
Theta (TEX)!tex_oi, !tex_vol, !tex_both(Theta / 365) × 100 × ContractsDaily dollar decay (bleed) across the options complex.
Rho (RHO_EX)!rho_ex_oi, !rho_ex_vol, !rho_ex_bothRho × 0.01 × 100 × ContractsDollar sensitivity of option positions to a 1% change in interest rates.

4. Secondary Greek Exposures (2nd Order)

MetricSuffix CommandsMathematical DefinitionFinancial Meaning
Gamma (GEX)!gex_oi, !gex_vol, !gex_bothGamma × S² × 0.01 × 100 × ContractsNotional gamma exposure; models market curvature and volatility dampening or acceleration.
Vanna!vanna_ex_oi, !vanna_ex_vol, !vanna_ex_bothVanna × S × 0.01 × 100 × ContractsDelta sensitivity to IV changes (∂Delta / ∂IV). Predicts vanna flows.
Charm!charm_ex_oi, !charm_ex_vol, !charm_ex_both(Charm × S / 365) × 100 × ContractsDelta sensitivity to time decay (∂Delta / ∂Time, Delta Bleed).
Vomma!vomma_ex_oi, !vomma_ex_vol, !vomma_ex_bothVomma × 0.01 × 100 × ContractsVolatility convexity (∂Vega / ∂IV, Vol of Vol).

5. Tertiary Greek Exposures (3rd Order)

MetricSuffix CommandsMathematical DefinitionFinancial Meaning
Zomma!zomma_ex_oi, !zomma_ex_vol, !zomma_ex_bothZomma × S² × 0.01 × 100 × ContractsSensitivity of Gamma to changes in IV (∂Gamma / ∂IV).
Speed!speed_ex_oi, !speed_ex_vol, !speed_ex_bothSpeed × S³ × 0.01 × 100 × ContractsThird-order price sensitivity (∂Gamma / ∂Spot, Gamma of Gamma).
Color!color_ex_oi, !color_ex_vol, !color_ex_both(Color × S² × 0.01 / 365) × 100 × ContractsRate of Gamma decay over time (∂Gamma / ∂Time, Gamma Decay).
Ultima!ultima_ex_oi, !ultima_ex_vol, !ultima_ex_bothUltima × 0.01 × 100 × ContractsThird-order volatility risk (∂Vomma / ∂IV).

Visual Elements & Chart Legend Statistics

Exposure charts display standard metrics and header statistics:

  • Spot Price Line: Cyan dashed line showing underlying asset price.
  • Expected Move (±1σ): Dotted bounds calculated as Spot × (ATM_IV / 100) × sqrt(DTE / 365.25).
  • Gamma Flip: Yellow dash-dot line where cumulative Net GEX transitions across zero (argmin(|cumsum(Net GEX)|)).
  • Gamma Walls: Highlighted major Call Wall (argmax(GEX+)) and Put Wall (argmax(|GEX-|)).
  • Max Pain: Purple dashed line where total option intrinsic value is minimized (argmin(sum(Intrinsic Value × OI))).

Summary Statistics

StatisticCalculationDescription
Metric Totalsum(Exposure) for expiryCombined net exposure across all strikes in the expiration.
Chain %(Expiry Abs / Chain Total Abs) × 100Relative weight of the expiration within the entire option complex.
Dominance [+ / -](Positive Exposure / Total Expiry Abs) × 100Percentage of positive exposure (calls/long) vs negative exposure (puts/short).
P/C Ratiosum(Puts) / sum(Calls)Ratio of total Put exposure to total Call exposure.
Sigma (σ)ATM_IV × sqrt(DTE / 365.25)One standard deviation expected move percentage.
SkewIV(25Δ Put) - IV(25Δ Call)25-delta volatility smile slope.

Discord Command Surface

The Discord bot exposes the same metrics as native slash commands. Each metric is its own command, and Discord autocompletes the command name, the symbol and every option:

/gex symbol:SPX                    gamma exposure, 0DTE, netted, all three weightings
/gex symbol:SPX weighting:volume   one chart, weighted by volume
/gamma exposure symbol:SPX         the same metric with nothing preset
/iv mid symbol:SPY view:surface    the 3D volatility surface
/oi symbol:QQQ strikes:40          open interest across 40 strikes

The legacy ! commands still run in Discord, and they are deprecated. Every ! reply names its slash equivalent.

Read the full gbR Discord command reference — all 27 slash commands, the exposure shortcuts and their presets, every option and filter, the symbol aliases, the rate limits, and the complete legacy ! table with its synonyms and retired tokens.


AI Assistant Architecture

The gbR platform integrates conversational AI agents powered by a ReAct tool execution framework:

  • Supported AI Providers: Groq, Anthropic Claude, Google Gemini, OpenAI ChatGPT.
  • Automated Tool Execution (fetch_market_metric): The assistant detects commands or natural language inquiries and fetches live charts or raw CSV metrics.
  • Multimodal Visual Reasoning: Users can pass rendered charts directly to the assistant for visual structure inspection and level interpretation.
  • Data vs Image Modes:
    • format=webp (Default): Returns visual chart assets directly in the conversation.
    • format=csv: Returns inline tabular data for quantitative synthesis, or generates a downloadable file export when requested.

On this page