Dive into detailed insights on trade data via Massive. Learn about trade execution, market dynamics, historical trade analysis, and real-time transaction tracking across various assets.
Knowledge Base/Trades
Knowledge Base
Trades
- Title
- Does a Form T trade update a pre-market minute bar's high, low, open and close?
- Aggregates Category
Aggregates
- Stocks Category
Stocks
- Trades Category
Trades
- Description
- Yes. On Massive's pre-market and after-hours minute bars, a Form T trade can set the open, high, low and close unless it also carries a condition such as Odd Lot that cannot set prices, while a daily bar and a regular-hours minute bar never take a price from a Form T trade.
- Title
- How do I get the official closing price for a stock?
- Stocks Category
Stocks
- Trades Category
Trades
- Description
- Take the condition 15 (Market Center Official Close) trade that the stock's listing exchange reports right after its closing auction, from the trades endpoint; the daily bar's close usually matches it but is calculated separately and can differ.
- Title
- How do I page through all the trades or quotes for a day?
- Quotes Category
Quotes
- Trades Category
Trades
- Description
- Ask for the day with timestamp=YYYY-MM-DD, order=asc and limit=50000, then request each response's next_url with your API key added until a response comes back without one, which means you have every row for that day.
- Title
- How does Massive handle fractional share trades?
- Stocks Category
Stocks
- Trades Category
Trades
- Description
- They are published like any other trade, with the real size in decimal_size and the integer size field rounded down, often to zero. They add to a bar's volume but never set its open, high, low or close, because they carry the odd-lot condition.
- Title
- How is a stock bar's VWAP calculated, and why can it fall outside the high and low?
- Aggregates Category
Aggregates
- Stocks Category
Stocks
- Trades Category
Trades
- Description
- The vw on a Massive stock bar is the size-weighted average price of every trade that counts toward the bar's volume, including odd-lot, average-price and contingent trades that may not set the high or low, so vw can sit outside the bar's range.
- Title
- How do Massive's feeds handle canceled trades?
- FAQ Category
FAQ
- Trades Category
Trades
- Description
- Nothing is deleted. REST and the flat files keep a canceled trade, mark it with a correction value and add a separate cancel record, and leave both out of aggregate bars. The WebSocket trade message has no correction field, so a live stream cannot tell you a trade was later canceled.
- Title
- Which timestamps are returned for Massive's stock trades and NBBO quotes?
- FAQ Category
FAQ
- Quotes Category
Quotes
- Trades Category
Trades
- Description
- REST and the flat files return three nanosecond timestamps per trade: participant, SIP and TRF. The WebSocket carries the same three in milliseconds rather than nanoseconds. All of them are Unix epoch in UTC.
- Title
- Why are there missing aggregates in Massive's data?
- Aggregates Category
Aggregates
- FAQ Category
FAQ
- Trades Category
Trades
- Description
- A window with no eligible trade produces no bar at all, rather than an empty one. This is common: AAPL produced 885 minute bars in a 960-minute session on an ordinary day. Check the trades endpoint for the same window to tell a real gap from an ineligible one.

