robinhood-options-mobile

Retail Order Flow & Robinhood Sentiment

RealizeAlpha integrates first-party Robinhood market data to provide real-time retail customer order flow dynamics, net buy/sell ratios, volume trends, and historical sentiment shifts directly within the instrument view.

Overview

Retail investor sentiment and order routing behavior provide unique insights into retail positioning, momentum, and potential retail-institutional divergences. By tracking first-party Robinhood customer buy and sell ratios along with volume percentage shifts, traders can identify whether retail flows are accumulating or distributing an equity.

Core Features

1. Retail Net Buy/Sell Ratios

2. Order Volume & Momentum Shifts

3. Historical Daily Sentiment Trend

Architecture & Data Flow

Endpoint

Example Response

{
  "instrument_id": "943c5009-a0bb-4665-8cf4-a95dab5874e4",
  "daily_transactions": [
    {
      "date": "2026-08-12",
      "net_buy_percentage": 6.733010406913009,
      "net_sell_percentage": -6.733010406913009,
      "buy_volume_percentage_change": null,
      "sell_volume_percentage_change": null
    },
    {
      "date": "2026-08-13",
      "net_buy_percentage": 2.2814620083776327,
      "net_sell_percentage": -2.2814620083776327,
      "buy_volume_percentage_change": -34.70567348204625,
      "sell_volume_percentage_change": -28.611824946031497
    },
    {
      "date": "2026-09-09",
      "net_buy_percentage": 31.58138057168694,
      "net_sell_percentage": -31.58138057168694,
      "buy_volume_percentage_change": 112.82247169835675,
      "sell_volume_percentage_change": 54.81522591529
    }
  ]
}

The data binding engine:

  1. Maps daily_transactions into a chronologically sorted sequence of RetailOrderFlowPoint instances.
  2. Derives explicit buy/sell ratios from net_buy_percentage ($\text{buy} = 50\% + \frac{\text{net_buy}}{2}$, $\text{sell} = 100\% - \text{buy}$) when explicit buy/sell percentages are not provided.
  3. Automatically sets the current RetailOrderFlow metrics from the latest available transaction in daily_transactions.
  4. Captures both buy_volume_percentage_change and sell_volume_percentage_change to visualize directional customer volume shifts.

Service Interface

Models & Widgets

Testing & Verification

Unit and widget tests validate model normalization, regime classification, demo service responses, and expandable widget rendering:

flutter test test/retail_order_flow_test.dart test/retail_order_flow_widget_test.dart