Skip to main content

Querying Forward Prices

note

Fixed forward prices apply only if your organization has access to fixed forward prices. Without it, latestFixedForwardPrices and a fuel port profile's fixedForward field return a Forbidden error. The same applies to the price fields (latestPublishedPrices, prices, historicalPrices) of a fixed forward symbol fetched directly through priceSymbol. Contact team@tideform.io to request access.

Fixed forward prices use the same shape as spot prices, but through the latestFixedForwardPrices query:

latestFixedForwardPrices(input: PriceQueryInputs): [FuelPortProfilePricePoint!]!

It accepts the same PriceQueryInputs filters as spot prices (fuelGradeIds, portIds), and returns the same port / fuelGrade / latestPrices shape. Two fields on each price carry more meaning for forward prices than they do for spot prices:

  • effectiveDate - the date the price is expected to be valid for. For spot prices this always equals publishedDate, since there's only one effective date. For forward prices, each publish produces 24 price points, one per effectiveDate.
  • relativeDate - the forward offset as { count, unit: Month }, where count is 1 to 24 months after the publish month. For spot prices this is always { count: 0, unit: Day }.

The 24 prices in latestPrices are not returned in month order; sort them by relativeDate.count or effectiveDate.

The additional fields described in Spot Prices (port details) and the ports query are equally available here - see the Spot Prices samples page for those. Fixed forward prices have no confidence band; band68Lower and band68Upper are always null.

See the samples page for ready-to-run forward price queries.