Massive (formerly Polygon.io) · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Massive Com Fx:aggregates API

8 actions 8 updates phrasing extends openapi/massive-com-fx-aggregates-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Massive (formerly Polygon.io)'s API. It is a proposal applied on top of the contract, not a document Massive (formerly Polygon.io) publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/v1/indicators/ema/{fxTicker}'].get
$.paths['/v1/indicators/macd/{fxTicker}'].get
$.paths['/v1/indicators/rsi/{fxTicker}'].get
$.paths['/v1/indicators/sma/{fxTicker}'].get
$.paths['/v2/aggs/grouped/locale/global/market/fx/{date}'].get
$.paths['/v2/aggs/ticker/{forexTicker}/prev'].get
$.paths['/v2/aggs/ticker/{forexTicker}/range/{multiplier}/{timespan}/{from}/{to}'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Massive Com Fx:aggregates API
  version: 1.0.0
extends: openapi/massive-com-fx-aggregates-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/v1/indicators/ema/{fxTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the exponential moving average of a forex pair
      effect: read
      questions:
      - What's the exponential moving average of EUR/USD on hourly bars?
      - Can I get an EMA for a currency pair with my own window size?
      instructions:
      - text: Calculate the EMA for forex pair {fxTicker}.
        slots:
          fxTicker: path.fxTicker
      - text: Get a {window}-period exponential moving average for {fxTicker} on {timespan} bars.
        slots:
          window: query.window
          fxTicker: path.fxTicker
          timespan: query.timespan
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/indicators/macd/{fxTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get MACD for a forex pair
      effect: read
      questions:
      - Is the MACD histogram turning positive on a currency pair?
      - Can I change the signal window when computing MACD for forex?
      instructions:
      - text: Get MACD for currency pair {fxTicker}.
        slots:
          fxTicker: path.fxTicker
      - text: Compute MACD for {fxTicker} with a signal window of {signal_window}.
        slots:
          fxTicker: path.fxTicker
          signal_window: query.signal_window
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/indicators/rsi/{fxTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the relative strength index of a forex pair
      effect: read
      questions:
      - Is a currency pair overbought on the RSI?
      - What does the daily RSI say about GBP/USD momentum?
      instructions:
      - text: Get the RSI for forex pair {fxTicker}.
        slots:
          fxTicker: path.fxTicker
      - text: Calculate a {window}-period RSI for {fxTicker} on {timespan} bars.
        slots:
          window: query.window
          fxTicker: path.fxTicker
          timespan: query.timespan
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/indicators/sma/{fxTicker}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the simple moving average of a forex pair
      effect: read
      questions:
      - What's the 200-day simple moving average for a currency pair?
      - Is a forex pair trading above its simple moving average?
      instructions:
      - text: Calculate the simple moving average for currency pair {fxTicker}.
        slots:
          fxTicker: path.fxTicker
      - text: Get the {window}-period SMA for {fxTicker}.
        slots:
          window: query.window
          fxTicker: path.fxTicker
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/aggs/grouped/locale/global/market/fx/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get daily OHLC for every forex pair
      effect: read
      questions:
      - Can I download one day's open, high, low and close for all currency pairs?
      - How did the entire forex market move on a given date?
      instructions:
      - text: Get grouped daily bars for all forex pairs on {date}.
        slots:
          date: path.date
      - text: Show every currency pair's OHLC for {date}.
        slots:
          date: path.date
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/aggs/ticker/{forexTicker}/prev'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a forex pair's previous-day OHLC
      effect: read
      questions:
      - Where did a currency pair close yesterday?
      - What was the prior day's high and low for a forex pair?
      instructions:
      - text: Get the previous close for forex pair {forexTicker}.
        slots:
          forexTicker: path.forexTicker
      - text: Show yesterday's OHLC bar for {forexTicker}.
        slots:
          forexTicker: path.forexTicker
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v2/aggs/ticker/{forexTicker}/range/{multiplier}/{timespan}/{from}/{to}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get forex price bars over a date range
      effect: read
      questions:
      - Can I get 15-minute candles for a currency pair across a date range?
      - What were the daily OHLC bars for a forex pair last month?
      instructions:
      - text: Get {multiplier}-{timespan} bars for {forexTicker} from {from} to {to}.
        slots:
          multiplier: path.multiplier
          timespan: path.timespan
          forexTicker: path.forexTicker
          to: path.to
          from: path.from
      - text: Pull candles for currency pair {forexTicker} between {from} and {to}.
        slots:
          forexTicker: path.forexTicker
          to: path.to
          from: path.from
      method: generated
      generated: '2026-09-26'