Saxo Bank Performance API

Provides performance metrics for historical positions.

OpenAPI Specification

saxo-performance-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Services.AutoTrading Account Values Performance API
  description: 'The AutoTrading service group provides endpoints for interacting with Saxo Bank''s SaxoSelect offering.Through these interfaces a client application can get Saxo Select trade leaders, portfolios and investments. Portfolio investments can be created and modifed.<div class=well style=''border: 1px solid rgb(204, 82, 0); border-image: none; background-color: rgb(255, 209, 179);padding:1px;''><strong> Note:</strong> </br>This service is subject to special licensing agreements and not generally available to all OpenAPI applications.</div>'
  version: 2.4.138+710c760591
  x-framework-version: 38.0.2+439c5b0ec3
  x-machine: SIMOAWEB11-DK2
servers:
- url: https://gateway.saxobank.com/sim/openapi
tags:
- name: Performance
  description: Provides performance metrics for historical positions.
paths:
  /hist/v4/performance/summary:
    get:
      tags:
      - Performance
      summary: Performance Summary
      description: "Returns a summary containing aggregated trade results and related performance metrics of the requesting entity, within the specified period.\n            ClientKey and either StandardPeriod or FromDate/ToDate are required fields, and we encourage the use of FieldGroups to return only the required metrics."
      operationId: PerformanceV4GetAccountSummary
      parameters:
      - name: AccountGroupKey
        in: query
        description: The account group key.
        schema:
          minLength: 1
          type: string
          x-type-name: AccountGroupKey
      - name: AccountKey
        in: query
        description: The account key.
        schema:
          minLength: 1
          type: string
          x-type-name: AccountKey
      - name: ClientKey
        in: query
        description: The client key.
        required: true
        schema:
          minLength: 1
          type: string
          x-type-name: ClientKey
      - name: FieldGroups
        in: query
        description: The field groups.
        schema:
          type: array
          items:
            $ref: '#/components/schemas/AccountSummaryFieldGroup'
      - name: FromDate
        in: query
        description: From date.
        schema:
          type: string
          format: date
          x-type-name: Date
      - name: MockDataId
        in: query
        description: The mock data identifier.
        schema:
          type: string
      - name: StandardPeriod
        in: query
        description: The standard period.
        schema:
          $ref: '#/components/schemas/Application.v4.AccountPerformanceStandardPeriod'
      - name: ToDate
        in: query
        description: To date.
        schema:
          type: string
          format: date
          x-type-name: Date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Contracts.AccountSummary'
              example:
                AccumulatedProfitLoss: 100
                BenchMarks:
                - Allocations:
                  - AllocationPCT: 100
                    AssetType: Cash
                    Description: ''
                    DisplayHintType: None
                    Uic: 211
                  CurrencyCode: USD
                  Description: Description1
                  Name: Bench Mark Name 1
                - Allocations:
                  - AllocationPCT: 100
                    AssetType: Bond
                    Description: ''
                    DisplayHintType: None
                    Uic: 210
                  - AllocationPCT: 100
                    AssetType: CertificateBonus
                    Description: ''
                    DisplayHintType: None
                    Uic: 211
                  CurrencyCode: EUR
                  Description: Description2
                  Name: Bench Mark Name 2
                From: '2022-10-30'
                InceptionDay: '2022-10-30'
                LastTradeDay: '2022-10-30'
                Thru: '2022-10-30'
                TotalCashBalance: 5000
                TotalCashBalancePerCurrency:
                - StringValue: CAD
                  Value: -491.707122366824
                TotalOpenPositionsValue: 6000
                TotalPositionsValuePerCurrency:
                - StringValue: CAD
                  Value: -491.707122366824
                TotalPositionsValuePerProductPerSecurity:
                - Description: Position On Security And Product
                  ProductName: Product Name
                  Symbol: Symbol
                  Value: 200
                TradeSummary:
                  Allocation:
                    TradesPerAssetType:
                      ClosedTradesAllocations:
                      - AssetClassType: Equity
                        ReturnAttribution: 1
                        TradeCount: 168
                        TradePercent: 0.38009049773755654
                      - AssetClassType: Commodity
                        ReturnAttribution: 0.5628789450009563
                        TradeCount: 105
                        TradePercent: 0.23755656108597284
                      - AssetClassType: Currency
                        ReturnAttribution: 0.249937016456527
                        TradeCount: 112
                        TradePercent: 0.25339366515837103
                      - AssetClassType: Fixed Income
                        ReturnAttribution: -0.013150856136249162
                        TradeCount: 57
                        TradePercent: 0.12895927601809956
                    TradesPerInstrument:
                      ClosedTradesAllocations:
                      - AssetType: ContractFutures
                        InstrumentDescription: 30-Year U.S. Treasury Bond - Sep 2016
                        InstrumentSymbol: ZBU6
                        InstrumentUic: 3626018
                        ReturnAttribution: -0.15987101005684304
                        TradeCount: 40
                        TradePercent: 0.09049773755656108
                      - AssetType: FxSpot
                        InstrumentDescription: British Pound/US Dollar
                        InstrumentSymbol: GBPUSD
                        InstrumentUic: 31
                        ReturnAttribution: 0.14685155225185834
                        TradeCount: 37
                        TradePercent: 0.083710407239819
                  AverageTradeDurationInMinutes: 34260
                  AverageTradesPerWeek: 48.2325728770595
                  NumberOfDaysTraded: 1589
                  NumberOfLongTrades: 5434
                  NumberOfShortTrades: 5263
                  TopTradedInstruments:
                  - DAX.I
                  - DJI.I
                  - EURUSD
                  - GBPUSD
                  - NAS100.I
                  - NOKSEK
                  - EURNOK
                  - SP500.I
                  TradeActivity:
                    TradesPerDay:
                    - Date: '2022-10-30'
                      TradeCount: 100
                  TradedInstruments:
                  - FxSpot
                  - Stock
                  - FxVanillaOption
                  - ContractFutures
                  TradesTotalCount: 10697
                  TradesWonCount: 6499
                WinFraction: 5
        '404':
          description: Summary not found.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      security:
      - OpenApiOAuthSecurityScheme: []
      - OpenApiJWTSecurityScheme: []
      x-required-permissions:
        personal: Read
        community: Read
  /hist/v4/performance/timeseries:
    get:
      tags:
      - Performance
      summary: Performance Timeseries
      description: "Returns timeseries containing performance metrics for the requesting entity, within the specified period.\n            ClientKey and either StandardPeriod or FromDate/ToDate are required fields, and we encourage the use of FieldGroups to return only the required metrics."
      operationId: PerformanceV4GetAccountPerformance
      parameters:
      - name: AccountGroupKey
        in: query
        description: The account group key.
        schema:
          minLength: 1
          type: string
          x-type-name: AccountGroupKey
      - name: AccountKey
        in: query
        description: The account key.
        schema:
          minLength: 1
          type: string
          x-type-name: AccountKey
      - name: ClientKey
        in: query
        description: The client key.
        required: true
        schema:
          minLength: 1
          type: string
          x-type-name: ClientKey
      - name: FieldGroups
        in: query
        description: The field groups.
        schema:
          type: array
          items:
            $ref: '#/components/schemas/ContractsV4.AccountPerformanceFieldGroup'
      - name: FromDate
        in: query
        description: From date.
        schema:
          type: string
          format: date
          x-type-name: Date
      - name: MockDataId
        in: query
        description: The mock data identifier.
        schema:
          type: string
      - name: StandardPeriod
        in: query
        description: The standard period.
        schema:
          $ref: '#/components/schemas/Application.v4.AccountPerformanceStandardPeriod'
      - name: ToDate
        in: query
        description: To date.
        schema:
          type: string
          format: date
          x-type-name: Date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Contracts.AccountPerformance'
              example:
                Balance:
                  AccountBalance:
                  - Date: '2021-03-16'
                    Value: 2713951
                  - Date: '2021-03-17'
                    Value: 2697389
                  - Date: '2021-03-18'
                    Value: 2697389
                  - Date: '2021-03-19'
                    Value: 2697389
                  - Date: '2021-03-22'
                    Value: 2697389
                  AccountValue:
                  - Date: '2021-03-16'
                    Value: 2713951
                  - Date: '2021-03-17'
                    Value: 2697389
                  - Date: '2021-03-18'
                    Value: 2697389
                  - Date: '2021-03-19'
                    Value: 2697389
                  - Date: '2021-03-22'
                    Value: 2697389
                  CashTransfer:
                  - Date: '2021-03-16'
                    Value: 700000
                  - Date: '2021-03-17'
                    Value: 693217
                  - Date: '2021-03-18'
                    Value: 693217
                  - Date: '2021-03-19'
                    Value: 693217
                  - Date: '2021-03-22'
                    Value: 693217
                  - Date: '2021-03-23'
                    Value: 693217
                  - Date: '2021-03-24'
                    Value: 693217
                  - Date: '2021-03-25'
                    Value: 693217
                  - Date: '2021-03-26'
                    Value: 693217
                  - Date: '2021-03-30'
                    Value: 693217
                  - Date: '2021-03-31'
                    Value: 693217
                  - Date: '2021-03-01'
                    Value: 693217
                  - Date: '2021-03-02'
                    Value: 693217
                  MonthlyProfitLoss:
                  - Date: '2021-03-31'
                    Value: 476960.78492
                  - Date: '2021-04-30'
                    Value: 0.00151689069285646
                  SecurityTransfer:
                  - Date: '2016-03-28'
                    Value: 0
                  - Date: '2016-03-29'
                    Value: 0
                  YearlyProfitLoss:
                  - Date: '2021-12-31'
                    Value: 473580.71199
                Benchmark:
                - Allocations:
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Cash
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: USD
                    Description: Description1
                    Name: Bench Mark Name 1
                  Date: '2021-05-11'
                  Value: 0.02
                - Allocations:
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Cash
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: USD
                    Description: Description1
                    Name: Bench Mark Name 1
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Bond
                      Description: ''
                      DisplayHintType: None
                      Uic: 210
                    - AllocationPCT: 100
                      AssetType: CertificateBonus
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: EUR
                    Description: Description2
                    Name: Bench Mark Name 2
                  Date: '2021-05-12'
                  Value: 0.03
                - Allocations:
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Bond
                      Description: ''
                      DisplayHintType: None
                      Uic: 210
                    - AllocationPCT: 100
                      AssetType: CertificateBonus
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: EUR
                    Description: Description2
                    Name: Bench Mark Name 2
                  Date: '2021-05-13'
                  Value: 0.04
                - Allocations:
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Cash
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: USD
                    Description: Description1
                    Name: Bench Mark Name 1
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Bond
                      Description: ''
                      DisplayHintType: None
                      Uic: 210
                    - AllocationPCT: 100
                      AssetType: CertificateBonus
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: EUR
                    Description: Description2
                    Name: Bench Mark Name 2
                  Date: '2021-05-14'
                  Value: 0.065
                - Allocations:
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Cash
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: USD
                    Description: Description1
                    Name: Bench Mark Name 1
                  Date: '2021-05-15'
                  Value: -0.01
                - Allocations:
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Bond
                      Description: ''
                      DisplayHintType: None
                      Uic: 210
                    - AllocationPCT: 100
                      AssetType: CertificateBonus
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: EUR
                    Description: Description2
                    Name: Bench Mark Name 2
                  Date: '2021-05-16'
                  Value: 0.03
                - Allocations:
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Cash
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: USD
                    Description: Description1
                    Name: Bench Mark Name 1
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Bond
                      Description: ''
                      DisplayHintType: None
                      Uic: 210
                    - AllocationPCT: 100
                      AssetType: CertificateBonus
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: EUR
                    Description: Description2
                    Name: Bench Mark Name 2
                  Date: '2021-05-17'
                  Value: 0.025
                - Allocations:
                  - Allocations:
                    - AllocationPCT: 100
                      AssetType: Cash
                      Description: ''
                      DisplayHintType: None
                      Uic: 211
                    CurrencyCode: USD
                    Description: Description1
                    Name: Bench Mark Name 1
                  Date: '2021-05-18'
                  Value: 0.03
                KeyFigures:
                  ClosedTradesCount: 0
                  DrawdownReport:
                    Drawdowns:
                    - DaysCount: 3
                      DepthInPercent: 1
                      FromDate: '2016-08-05T00:00:00'
                      RecoveryDaysCount: 1
                      ThruDate: '2016-08-08T00:00:00'
                    MaxDaysInDrawdownFromTop10Drawdowns: 3
                  LosingDaysFraction: 0.03
                  MaxDrawDownFraction: 1
                  PerformanceFraction: 0
                  ReturnFraction: -1
                  SampledStandardDeviation: 0.0618018874919214
                  SharpeRatio: -0.952069751000777
                  SortinoRatio: -0.0591710418985739
                TimeWeighted:
                  Accumulated:
                  - Date: '2021-03-16'
                    Value: 0.000707311584857981
                  - Date: '2021-03-17'
                    Value: 0.00289876077113995
                  - Date: '2021-03-18'
                    Value: 0.0030873830953917
                  - Date: '2021-03-19'
                    Value: 0.000729201756574284
                  - Date: '2021-03-22'
                    Value: 0.0016413754184318
                  - Date: '2021-03-23'
                    Value: 0.00615470900076945
                  - Date: '2021-03-24'
                    Value: 0.0145762714416127
                  - Date: '2021-03-25'
                    Value: 0.0130120799919019
                  - Date: '2021-03-26'
                    Value: 0.0109777093144279
                  - Date: '2021-03-29'
                    Value: 0.109105521823687
                  - Date: '2021-03-30'
                    Value: 0.109105521823687
                  - Date: '2021-03-31'
                    Value: 0.174356723940404
                  - Date: '2021-03-01'
                    Value: 0.176303239558097
                  - Date: '2021-03-02'
                    Value: 0.175826866623672
                  MonthlyReturn:
                  - Date: '2021-03-31'
                    Value: 0.176303239558097
                  - Date: '2021-04-30'
                    Value: 0.00151689069285646
                  YearlyReturn:
                  - Date: '2021-03-31'
                    Value: 0.175053781608446
        '404':
          description: Performance not found.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      security:
      - OpenApiOAuthSecurityScheme: []
      - OpenApiJWTSecurityScheme: []
      x-required-permissions:
        personal: Read
        community: Read
  /hist/v3/perf/{ClientKey}:
    get:
      tags:
      - Performance
      summary: Get account performance.
      description: "Returns a collection of performance metrics for a specific account. The account performance returns \n            confidencial information that is only allowed to be viewed by the account owner / owners.\n            The required fields are ClientKey and either StandardPeriod or FromDate/ToDate."
      operationId: PerformanceV3GetPerformance
      parameters:
      - name: AccountGroupKey
        in: query
        description: Id of the account containing the historical positions.
        schema:
          minLength: 1
          type: string
          x-type-name: AccountGroupKey
      - name: AccountKey
        in: query
        description: Id of the account containing the historical positions.
        schema:
          minLength: 1
          type: string
          x-type-name: AccountKey
      - name: ClientKey
        in: path
        description: Id of the client owning the account
        required: true
        schema:
          minLength: 1
          type: string
          x-type-name: ClientKey
      - name: FieldGroups
        in: query
        description: Specifies which data to return. Default is
        schema:
          type: array
          items:
            $ref: '#/components/schemas/AccountPerformanceFieldGroup'
      - name: FromDate
        in: query
        description: From date from which the historical positions are requested.
        schema:
          type: string
          format: date
          x-type-name: Date
      - name: MockDataId
        in: query
        description: Optional Mock Data Parameter
        schema:
          type: string
      - name: StandardPeriod
        in: query
        description: Standard period for account performance.
        schema:
          $ref: '#/components/schemas/Application.AccountPerformanceStandardPeriod'
      - name: ToDate
        in: query
        description: To date till which the historical positions are requested.
        schema:
          type: string
          format: date
          x-type-name: Date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountPerformance'
              example:
                AccountSummary:
                  AverageTradeDurationInMinutes: 34260
                  AverageTradesPerWeek: 48.2325728770595
                  NumberOfDaysTraded: 1589
                  NumberOfLongTrades: 5434
                  NumberOfShortTrades: 5263
                  TopTradedInstruments:
                  - DAX.I
                  - DJI.I
                  - EURUSD
                  - GBPUSD
                  - NAS100.I
                  - NOKSEK
                  - EURNOK
                  - SP500.I
                  TotalReturnFraction: -0.9999963956455
                  TradedInstruments:
                  - FxSpot
                  - Stock
                  - FxVanillaOption
                  - ContractFutures
                  TradesTotalCount: 10697
                  TradesWonCount: 6499
                  WinFraction: 0.61
                Allocation:
                  TradesPerAssetType:
                    ClosedTradesAllocations:
                    - AssetClassType: Equity
                      ReturnAttribution: 1
                      TradeCount: 168
                      TradePercent: 0.38009049773755654
                    - AssetClassType: Currency
                      ReturnAttribution: 0.249937016456527
                      TradeCount: 112
                      TradePercent: 0.25339366515837103
                    - AssetClassType: Commodity
                      ReturnAttribution: 0.5628789450009563
                      TradeCount: 105
                      TradePercent: 0.23755656108597284
                    - AssetClassType: Fixed Income
                      ReturnAttribution: -0.013150856136249162
                      TradeCount: 57
                      TradePercent: 0.12895927601809956
                  TradesPerInstrument:
                    ClosedTradesAllocations:
                    - AssetType: ContractFutures
                      InstrumentDescription: 30-Year U.S. Treasury Bond - Sep 2016
                      InstrumentSymbol: ZBU6
                      InstrumentUic: 3626018
                      ReturnAttribution: -0.15987101005684304
                      TradeCount: 40
                      TradePercent: 0.09049773755656108
                    - AssetType: FxSpot
                      InstrumentDescription: British Pound/US Dollar
                      InstrumentSymbol: GBPUSD
                      InstrumentUic: 31
                      ReturnAttribution: 0.14685155225185834
                      TradeCount: 37
                      TradePercent: 0.083710407239819
                BalancePerformance:
                  AccountBalanceTimeSeries:
                  - Date: '2016-03-28'
                    Value: 0
                  - Date: '2016-03-29'
                    Value: 0
                  AccountValueTimeSeries:
                  - Date: '2016-03-28'
                    Value: 0
                  - Date: '2016-03-29'
                    Value: 0
                  MonthlyProfitLossTimeSeries:
                  - Date: '2015-11-30'
                    Value: 0
                  - Date: '2015-12-31'
                    Value: 0
                  SecurityTransferTimeSeries:
                  - Date: '2016-03-28'
                    Value: 0
                  - Date: '2016-03-29'
                    Value: 0
                  YearlyProfitLossTimeSeries:
                  - Date: '2015-12-31'
                    Value: 0
                  - Date: '2016-12-31'
                    Value: 0
                  - Date: '2017-12-31'
                    Value: 0
                From: '2016-03-28'
                InceptionDay: '2015-11-24'
                LastTradeDay: '2017-03-27'
                Thru: '2017-03-27'
                TimeWeightedPerformance:
                  AccumulatedTimeWeightedTimeSeries:
                  - Date: '2016-03-25'
                    Value: 0
                  MonthlyReturnTimeSeries:
                  - Date: '2016-03-25'
                    Value: 0
                  PerformanceFraction: -1
                  PerformanceKeyFigures:
                    ClosedTradesCount: 0
                    DrawdownReport:
                      Drawdowns:
                      - DaysCount: 3
                        DepthInPercent: 1
                        FromDate: '2016-08-05'
                        ThruDate: '2016-08-08'
                      MaxDaysInDrawdownFromTop10Drawdowns: 3
                    LosingDaysFraction: 0.03
                    MaxDrawDownFraction: 1
                    ReturnFraction: -1
                    SampledStandardDeviation: 0.0618018874919214
                    SharpeRatio: -0.952069751000777
                    SortinoRatio: -0.0591710418985739
                  YearlyReturnTimeSeries:
                  - Date: '2016-03-25'
                    Value: 0
                TotalCashBalance: 20226.02
                TotalCashBalancePerCurrency:
                - StringValue: CAD
                  Value: -491.707122366824
                TotalOpenPositionsValue: 29571.057
                TotalPositionsValuePerCurrency:
                - StringValue: CAD
                  Value: -491.707122366824
                TotalPositionsValuePerProductPerSecurity:
                - Description: Abengoa SA - Warrants
                  ProductName: Shares
                  Symbol: LOCK - 1496:xxxx
                  Value: 0
        '404':
          description: Performance not found.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      security:
      - OpenApiOAuthSecurityScheme: []
      - OpenApiJWTSecurityScheme: []
      x-required-permissions:
        personal: Read
        community: Read
components:
  schemas:
    Drawdown:
      title: Drawdown
      type: object
      properties:
        DaysCount:
          title: Days Count
          type: integer
          format: int32
          example: 99
        DepthInPercent:
          title: Depth in Percnt
          type: number
          example: 10
        FromDate:
          title: From Date
          type: string
          format: date
          x-type-name: Date
        RecoveryDaysCount:
          title: Recovery Days Count
          type: integer
          format: int32
          example: 99
        ThruDate:
          title: Thru Date
          type: string
          format: date
          x-type-name: Date
      additionalProperties: false
      example:
        DaysCount: 3
        DepthInPercent: 1
        FromDate: '2016-08-05'
        ThruDate: '2016-08-08'
    Contracts.TimeValuePair:
      title: Implementation of a time and value pair.
      type: object
      properties:
        Date:
          title: Date and time of the occurrence.
          type: string
          format: date
          x-type-name: Date
        Value:
          title: The value at the given date and time
          type: number
          example: 10
      additionalProperties: false
      example:
        Date: '0001-01-01'
        Value: 10
    TradesPerDayItem:
      title: Defines a data contract for closed trades count on a single day.
      type: object
      properties:
        Date:
          title: The date.
          type: string
          format: date
          x-type-name: Date
        TradeCount:
          title: The trade count.
          type: integer
          format: int32
          example: 99
      additionalProperties: false
      example:
        Date: '0001-01-01'
        TradeCount: 99
    Contracts.BenchMark:
      title: Benchmark and all
      type: object
      properties:
        Allocations:
          title: List of Benchmark Compositions.
          type: array
          items:
            $ref: '#/components/schemas/InstrumentAllocation'
          example:
          - AllocationPCT: 10
            AssetType: SrdOnStock
            Description: stringValue
            DisplayHintType: Rights
            Uic: 99
        CurrencyCode:
          title: Benchmark currency.
          type: string
          example: stringValue
        Description:
          title: Benchmark description.
          type: string
          example: stringValue
        Name:
          title: Benchmark name.
          type: string
          example: stringValue
      additionalProperties: false
      example:
        Allocations:
        - AllocationPCT: 10
          AssetType: CertificateBonus
          Description: stringValue
          DisplayHintType: Etn
          Uic: 99
        CurrencyCode: stringValue
        Description: stringValue
        Name: stringValue
    Contracts.Drawdown:
      title: Drawdown
      type: object
      properties:
        DaysCount:
          title: Days Count
          type: integer
          format: int32
          example: 99
        DepthInPercent:
          title: Depth in Percnt
          type: number
          example: 10
        FromDate:
          title: From Date
          type: string
          example: stringValue
        RecoveryDaysCount:
          title: Recovery Days Count
          type: integer
          format: int32
          example: 99
        ThruDate:
          title: Thru Date
          type: string
          example: stringValue
      additionalProperties: false
      example:
        DaysCount: 9

# --- truncated at 32 KB (108 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/saxo/refs/heads/main/openapi/saxo-performance-api-openapi.yml