Skip to main content
This page outlines caching durations for various GM Backend API endpoints, establishing performance parameters while balancing freshness requirements.

Default Behavior

Unless otherwise specified, all GET endpoints default to:
  • Cache Duration: 1 minute

Latest Prices

Endpoints: Get Current Prices for All Supported Assets | Get Current Price for an Asset | Get Enhanced Prices for All Supported Assets
  • Cache Duration: 1 second
For real-time price streaming updates, see Price Streaming Endpoint.

OHLC

Endpoint: Get OHLC Data for an Asset
  • Cache Duration: 1 second
  • Data Delay: Underlying OHLC data may itself be delayed by up to 5-10 seconds
  • Effective Lag: Up to 11 seconds
For real-time OHLC updates, see OHLC Streaming Endpoint.

All Metadata

Endpoint: Get Metadata for All Supported Assets
  • Cache Duration: 5 minutes
  • Note: Metadata changes infrequently,

Shares Multiplier

Endpoint: Get Shares Multiplier History for an Asset
  • Cache Duration: 1 second
  • Note: Shares multipliers change infrequently, so a 1 second cache supports near-real-time discovery.

Trading Limits

Endpoint: Get Trading Limits
  • Cache Duration: None (response is always up to date)

ITN Limits

Endpoint: Get ITN Limits for an Asset
  • Cache Duration: None (response is always up to date)