> ## Documentation Index
> Fetch the complete documentation index at: https://developer.9squid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get stored ALM analysis results

> Retrieves the most recent TCT Risk ALM analysis for a deal. Returns duration (Macaulay, modified, effective, spread), convexity, key_rate_durations, nii_sensitivity, eve_analysis, gap_analysis, var_metrics, and stress_test_results.



## OpenAPI

````yaml api-reference/openapi.json GET /v1/api/originator/analytics/alm/{dealId}
openapi: 3.0.3
info:
  title: 9Squid Platform API Gateway
  description: >-
    Unified entry point for all Originator and Investor workflows on the 9Squid
    securitization platform.
  version: '1.0'
  x-readme:
    id: 9squid-docs
  contact: {}
servers:
  - url: https://api.9squid.com
    description: Production
  - url: https://sandbox.api.9squid.com
    description: Sandbox
security: []
tags:
  - name: Originator - Loans
    description: Loan tape upload and management
  - name: Originator - Pools
    description: Securitization pool management
  - name: Originator - Analytics
    description: ALM / TCT Risk analytics
  - name: Originator - Selection Criteria
    description: Stratification check runs and exceptions
  - name: Deal Room - Documents
    description: Document upload and management
  - name: Investor - Deals
    description: Browse and evaluate securitization deals
  - name: Investor - Portfolio
    description: Portfolio positions, summary and reports
  - name: Investor - Subscriptions & Allocations
    description: Order and allocation management
  - name: Alerts
    description: Notifications and alert management
  - name: Webhooks
    description: Webhook subscription and delivery management
paths:
  /v1/api/originator/analytics/alm/{dealId}:
    get:
      tags:
        - Originator - Analytics
      summary: Get stored ALM analysis results
      description: >-
        Retrieves the most recent TCT Risk ALM analysis for a deal. Returns
        duration (Macaulay, modified, effective, spread), convexity,
        key_rate_durations, nii_sensitivity, eve_analysis, gap_analysis,
        var_metrics, and stress_test_results.
      operationId: AnalyticsController_getAlmAnalysis
      parameters:
        - name: dealId
          required: true
          in: path
          description: Deal request ID
          schema:
            example: deal_abc123
            type: string
      responses:
        '200':
          description: Stored ALM analysis report
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      deal_id:
                        example: deal_abc123
                        type: string
                      duration:
                        type: object
                        properties:
                          macaulay:
                            type: number
                            example: 3.12
                          modified:
                            type: number
                            example: 2.98
                          effective:
                            type: number
                            example: 2.87
                          spread:
                            type: number
                            example: 2.95
                      convexity:
                        type: number
                        example: 0.42
                      key_rate_durations:
                        type: object
                      nii_sensitivity:
                        type: object
                      eve_analysis:
                        type: object
                      gap_analysis:
                        type: object
                      var_metrics:
                        type: object
                      stress_test_results:
                        type: array
                        items:
                          type: object
        '401':
          description: Unauthorized — invalid or missing API key
        '404':
          description: Deal or analysis not found
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````