Skip to main content

GIS Historical Data

Retrieve historical pricing and yield data for Government of Pakistan Ijarah Sukuk securities.

GET/3.0/gis/historical

Description

This endpoint provides historical price, yield, and trading volume data for GOP Ijarah Sukuk securities. Track market performance, price movements, and yield trends over time.

Request

Authentication

  • Type: Bearer Token
  • Required: Yes

Parameters

NameTypeRequiredDescriptionExample
symbolstringYesSukuk symbol to fetch historical data for.GIS-25-I

Response

Success Response (200)

{
"status": "ok",
"data": [
{
"date": "2025-12-24",
"symbol": "GIS-25-I",
"openPrice": 99.500,
"highPrice": 100.250,
"lowPrice": 99.375,
"closePrice": 99.875,
"ytm": 13.25,
"bidPrice": 99.750,
"askPrice": 99.900,
"volume": 2500000,
"trades": 145,
},
{
"date": "2025-12-23",
"symbol": "GIS-25-I",
"openPrice": 99.750,
"highPrice": 99.900,
"lowPrice": 99.450,
"closePrice": 99.500,
"ytm": 13.30,
"bidPrice": 99.400,
"askPrice": 99.550,
"volume": 1800000,
"trades": 98,
},
{
"date": "2025-12-22",
"symbol": "GIS-25-I",
"openPrice": 100.000,
"highPrice": 100.125,
"lowPrice": 99.600,
"closePrice": 99.750,
"ytm": 13.28,
"bidPrice": 99.650,
"askPrice": 99.800,
"volume": 3200000,
"trades": 167,
}
]
}

Response Fields

FieldTypeDescription
datestringDate of the data point (YYYY-MM-DD)
symbolstringSukuk symbol
openPricenumberOpening price for the period
highPricenumberHighest price during the period
lowPricenumberLowest price during the period
closePricenumberClosing price for the period
ytmnumberYield to maturity (percent)
bidPricenumberBid price
askPricenumberAsk price
volumenumberTrading volume (PKR)
tradesintegerNumber of trades executed

Error Responses

For detailed Common Error responses, see the Error Handling.

Examples

Get Historical Data for Specific Sukuk (Latest 100 Days)

curl -X GET "https://csapis.com/3.0/gis/historical?symbol=GIS-25-I" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Use Cases

  • Price Analysis: Track price movements and identify trends
  • Yield Analysis: Monitor yield changes over time
  • Performance Evaluation: Calculate returns and performance metrics
  • Risk Analysis: Analyze price volatility and duration risk
  • Charting: Create price and yield charts for technical analysis
  • Backtesting: Use historical data for strategy backtesting
  • Liquidity Assessment: Track volume trends and liquidity changes