Saxo Bank Balances API

Read-only endpoint serving client and account balances. The client or account balance is identified by the supplied ClientKey, AccountGroupKey or AccountKey. Access to balance data is further restricted by the access rights of the identity represented by the authorization token.

OpenAPI Specification

saxo-balances-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Services.AutoTrading Account Values Balances 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: Balances
  description: "Read-only endpoint serving client and account balances. The client or account balance is identified by the supplied ClientKey, AccountGroupKey or AccountKey. \n            Access to balance data is further restricted by the access rights of the identity represented by the authorization token."
paths:
  /port/v1/balances/subscriptions/{ContextId}/{ReferenceId}:
    delete:
      tags:
      - Balances
      summary: Remove subscription
      description: Removes subscription for the current session identified by subscription id.
      operationId: BalancesV1DeleteSubscription
      parameters:
      - name: ContextId
        in: path
        description: Unique streaming context ID part of the streaming session.
        required: true
        schema:
          type: string
        example: '29931122'
      - name: ReferenceId
        in: path
        description: Unique ID of the subscription
        required: true
        schema:
          type: string
        example: B345356
      responses:
        '204':
          description: No Content
        '202':
          description: Subscription delete request will be processed eventually.
        '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: Subscribe
        community: Subscribe
  /port/v1/balances/subscriptions/{ContextId}:
    delete:
      tags:
      - Balances
      summary: Remove all subscriptions marked with a specific tag
      description: Removes multiple subscriptions for the current session on this resource and frees all resources on the server.
      operationId: BalancesV1DeleteSubscriptions
      parameters:
      - name: ContextId
        in: path
        description: Unique streaming context ID part of the streaming session.
        required: true
        schema:
          type: string
        example: '29931122'
      - name: Tag
        in: query
        description: Tag that subscriptions are marked with.
        schema:
          type: string
        example: PAGE1
      responses:
        '204':
          description: No Content
        '202':
          description: Subscription delete request will be processed eventually.
        '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: Subscribe
        community: Subscribe
  /port/v1/balances/subscriptions:
    post:
      tags:
      - Balances
      summary: Create a subscription on a balance
      description: Sets up a subscription and returns an initial snapshot of a balance.
      operationId: BalancesV1AddActiveSubscription
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BalanceSubscriptionRequest'
            example:
              Arguments:
                AccountGroupKey: null
                AccountKey: null
                ClientKey: 7m4I|vtYLUnEGg77o9uQhw==
              ContextId: '20221030064906306'
              ReferenceId: B49083
              RefreshRate: 500
              Tag: MyBalancesRelatedSubscriptions
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BalanceSubscriptionResponse'
              example:
                ContextId: '20221030064906306'
                Format: application/json
                InactivityTimeout: 1500
                ReferenceId: B49083
                RefreshRate: 500
                Snapshot:
                  CalculationReliability: Ok
                  CashAvailableForTrading: 100573853.73
                  CashBalance: 100573853.73
                  CashBlocked: 0
                  ChangesScheduled: false
                  ClosedPositionsCount: 0
                  CollateralAvailable: 99839075.64
                  CorporateActionUnrealizedAmounts: 0
                  CostToClosePositions: -1677.57
                  Currency: EUR
                  CurrencyDecimals: 0
                  InitialMargin:
                    CollateralAvailable: 12254541.55
                    MarginAvailable: 12254541.55
                    MarginCollateralNotAvailable: 0
                    MarginUsedByCurrentPositions: -1225544.66
                    MarginUtilizationPct: 15.11
                    NetEquityForMargin: 1222521.77
                    OtherCollateralDeduction: 0
                  IntradayMarginDiscount: 0
                  IsPortfolioMarginModelSimple: true
                  MarginAndCollateralUtilizationPct: 0.38
                  MarginAvailableForTrading: 99839075.64
                  MarginCollateralNotAvailable: -468419.84
                  MarginExposureCoveragePct: 344.35
                  MarginNetExposure: 29088391.02
                  MarginUsedByCurrentPositions: -326828.87
                  MarginUtilizationPct: 0.33
                  NetEquityForMargin: 85539075.64
                  NetPositionsCount: 0
                  NonMarginPositionsValue: 509207.41
                  OpenIpoOrdersCount: 0
                  OpenPositionsCount: 0
                  OptionPremiumsMarketValue: 0
                  OrdersCount: 0
                  OtherCollateral: 103798.26
                  SettlementValue: 0
                  ShareSpendingPower: 50
                  SpendingPower: 50
                  SpendingPowerDetail:
                    Current: 50
                    Maximum: 50
                  SrdSpendingPower: 50
                  TotalValue: 100634324.36
                  TransactionsNotBooked: -118.71
                  TriggerOrdersCount: 0
                  UnrealizedMarginClosedProfitLoss: 0
                  UnrealizedMarginOpenProfitLoss: 0
                  UnrealizedMarginProfitLoss: -550738.76
                  UnrealizedPositionsValue: -43208.92
                State: Active
                Tag: MyBalancesRelatedSubscriptions
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                required:
                - ErrorCode
                - Message
                type: object
                properties:
                  ErrorCode:
                    enum:
                    - InvalidClientId
                    - InvalidInput
                    - InvalidModelState
                    - NoValidInput
                    - UnsupportedSubscriptionFormat
                    type: string
                    example: None
                    x-enum-descriptions:
                      InvalidModelState: Error code returned when model state is invalid.
                      UnsupportedSubscriptionFormat: Error code returned when a subscription format that isn't supported by the publisher is requested.
                      InvalidClientId: Indicates that the requested client id was invalid.
                      InvalidInput: An error was encountered when processing given input parameters.
                      NoValidInput: No valid input values passed.
                  Message:
                    type: string
                  ModelState:
                    $ref: '#/components/schemas/ModelStateDictionary'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                required:
                - ErrorCode
                - Message
                type: object
                properties:
                  ErrorCode:
                    enum:
                    - SubscriptionLimitExceeded
                    type: string
                    example: None
                    x-enum-descriptions:
                      SubscriptionLimitExceeded: Error code returned when more than the maximum allowed number of subscriptions for a specified type, is exceeded.
                  Message:
                    type: string
                  ModelState:
                    $ref: '#/components/schemas/ModelStateDictionary'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
        '429':
          $ref: '#/components/responses/TooManyRequests'
      security:
      - OpenApiOAuthSecurityScheme: []
      - OpenApiJWTSecurityScheme: []
      x-required-permissions:
        personal: Subscribe
        community: Subscribe
      x-streaming-type:
        $ref: '#/components/schemas/BalanceResponse'
  /port/v1/balances/marginoverview:
    get:
      tags:
      - Balances
      summary: Get margin overview
      description: Get margin overview for a client, account group or an account
      operationId: BalancesV1GetMarginOverview
      parameters:
      - name: AccountGroupKey
        in: query
        description: The key of the account group for which the margin overview is returned
        schema:
          title: The key of the account group for which the margin overview is returned
          minLength: 1
          type: string
          x-type-name: AccountGroupKey
        example: stringValue
      - name: AccountKey
        in: query
        description: The key of the account for which the margin overview is returned
        schema:
          title: The key of the account for which the margin overview is returned
          minLength: 1
          type: string
          x-type-name: AccountKey
        example: 01b64edf-da03-4145-bf33-ae21527d4c86
      - name: ClientKey
        in: query
        description: The key of the client for which the margin overview is returned
        required: true
        schema:
          title: The key of the client for which the margin overview is returned
          minLength: 1
          type: string
          x-type-name: ClientKey
        example: 493b43a5-fe85-4d1f-9071-dd4a9d4e42a4
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarginOverviewByGroup'
              example:
                Groups:
                - Contributors:
                  - AssetTypes:
                    - FxSpot
                    InstrumentDescription: EURUSD description
                    InstrumentSpecifier: EURUSD
                    Margin: 1235
                    Uic: 21
                  - AssetTypes:
                    - FxSpot
                    InstrumentDescription: GBPUSD description
                    InstrumentSpecifier: GBPUSD
                    Margin: 789
                    Uic: 22
                  GroupType: FX
                  TotalMargin: 100000
                - Contributors:
                  - AssetTypes:
                    - CfdOnIndex
                    InstrumentDescription: SP500 description
                    InstrumentSpecifier: SP500.I
                    Margin: 4321
                    Uic: 4910
                  - AssetTypes:
                    - CfdOnIndex
                    InstrumentDescription: CSE20 description
                    InstrumentSpecifier: CSE20.I
                    Margin: 975
                    Uic: 5768
                  - AssetTypes:
                    - CfdOnIndex
                    InstrumentDescription: DAX description
                    InstrumentSpecifier: DAX.I
                    Margin: 864
                    Uic: 27098
                  GroupType: CFDs
                  TotalMargin: 200000
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                required:
                - ErrorCode
                - Message
                type: object
                properties:
                  ErrorCode:
                    enum:
                    - InvalidClientId
                    - NoValidInput
                    type: string
                    example: None
                    x-enum-descriptions:
                      NoValidInput: No valid input values passed.
                      InvalidClientId: Indicates that the requested client id was invalid.
                  Message:
                    type: string
                  ModelState:
                    $ref: '#/components/schemas/ModelStateDictionary'
        '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
  /port/v1/balances:
    get:
      tags:
      - Balances
      summary: Get balance
      description: Get balance data for a client, account group or an account
      operationId: GET_BalancesV1GetBalance
      parameters:
      - name: AccountGroupKey
        in: query
        description: The key of the account group for which the balance data is returned
        schema:
          title: The key of the account group for which the balance data is returned
          minLength: 1
          type: string
          x-type-name: AccountGroupKey
        example: stringValue
      - name: AccountKey
        in: query
        description: The key of the account for which the balance data is returned
        schema:
          title: The key of the account for which the balance data is returned
          minLength: 1
          type: string
          x-type-name: AccountKey
        example: 01b64edf-da03-4145-bf33-ae21527d4c86
      - name: ClientKey
        in: query
        description: The key of the client for which the balance data is returned
        required: true
        schema:
          title: The key of the client for which the balance data is returned
          minLength: 1
          type: string
          x-type-name: ClientKey
        example: 493b43a5-fe85-4d1f-9071-dd4a9d4e42a4
      - name: FieldGroups
        in: query
        description: Specifies which data to return.
        schema:
          title: Specifies which data to return.
          type: array
          items:
            $ref: '#/components/schemas/BalanceFieldGroup'
        example:
        - MarginOverview
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BalanceResponse'
              example:
                CalculationReliability: Ok
                CashAvailableForTrading: 100573853.73
                CashBalance: 100573853.73
                CashBlocked: 0
                ChangesScheduled: false
                ClosedPositionsCount: 0
                CollateralAvailable: 99839075.64
                CorporateActionUnrealizedAmounts: 0
                CostToClosePositions: -1677.57
                Currency: EUR
                CurrencyDecimals: 0
                InitialMargin:
                  CollateralAvailable: 12254541.55
                  MarginAvailable: 12254541.55
                  MarginCollateralNotAvailable: 0
                  MarginUsedByCurrentPositions: -1225544.66
                  MarginUtilizationPct: 15.11
                  NetEquityForMargin: 1222521.77
                  OtherCollateralDeduction: 0
                IntradayMarginDiscount: 0
                IsPortfolioMarginModelSimple: true
                MarginAndCollateralUtilizationPct: 0.38
                MarginAvailableForTrading: 99839075.64
                MarginCollateralNotAvailable: -468419.84
                MarginExposureCoveragePct: 344.35
                MarginNetExposure: 29088391.02
                MarginUsedByCurrentPositions: -326828.87
                MarginUtilizationPct: 0.33
                NetEquityForMargin: 85539075.64
                NetPositionsCount: 0
                NonMarginPositionsValue: 509207.41
                OpenIpoOrdersCount: 0
                OpenPositionsCount: 0
                OptionPremiumsMarketValue: 0
                OrdersCount: 0
                OtherCollateral: 103798.26
                SettlementValue: 0
                SpendingPowerDetail:
                  Current: 50
                  Maximum: 50
                TotalValue: 100634324.36
                TransactionsNotBooked: -118.71
                TriggerOrdersCount: 0
                UnrealizedMarginClosedProfitLoss: 0
                UnrealizedMarginOpenProfitLoss: 0
                UnrealizedMarginProfitLoss: -550738.76
                UnrealizedPositionsValue: -43208.92
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                required:
                - ErrorCode
                - Message
                type: object
                properties:
                  ErrorCode:
                    enum:
                    - InvalidClientId
                    - NoValidInput
                    type: string
                    example: None
                    x-enum-descriptions:
                      NoValidInput: No valid input values passed.
                      InvalidClientId: Indicates that the requested client id was invalid.
                  Message:
                    type: string
                  ModelState:
                    $ref: '#/components/schemas/ModelStateDictionary'
        '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
  /port/v1/balances/me:
    get:
      tags:
      - Balances
      summary: Get balance data for logged-in client
      description: Get balance data for logged-in client.
      operationId: BalancesV1GetBalance
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BalanceResponse'
              example:
                CalculationReliability: Ok
                CashAvailableForTrading: 100573853.73
                CashBalance: 100573853.73
                CashBlocked: 0
                ChangesScheduled: false
                ClosedPositionsCount: 0
                CollateralAvailable: 99839075.64
                CorporateActionUnrealizedAmounts: 0
                CostToClosePositions: -1677.57
                Currency: EUR
                CurrencyDecimals: 0
                InitialMargin:
                  CollateralAvailable: 12254541.55
                  MarginAvailable: 12254541.55
                  MarginCollateralNotAvailable: 0
                  MarginUsedByCurrentPositions: -1225544.66
                  MarginUtilizationPct: 15.11
                  NetEquityForMargin: 1222521.77
                  OtherCollateralDeduction: 0
                IntradayMarginDiscount: 0
                IsPortfolioMarginModelSimple: true
                MarginAndCollateralUtilizationPct: 0.38
                MarginAvailableForTrading: 99839075.64
                MarginCollateralNotAvailable: -468419.84
                MarginExposureCoveragePct: 344.35
                MarginNetExposure: 29088391.02
                MarginUsedByCurrentPositions: -326828.87
                MarginUtilizationPct: 0.33
                NetEquityForMargin: 85539075.64
                NetPositionsCount: 0
                NonMarginPositionsValue: 509207.41
                OpenIpoOrdersCount: 0
                OpenPositionsCount: 0
                OptionPremiumsMarketValue: 0
                OrdersCount: 0
                OtherCollateral: 103798.26
                SettlementValue: 0
                SpendingPowerDetail:
                  Current: 50
                  Maximum: 50
                TotalValue: 100634324.36
                TransactionsNotBooked: -118.71
                TriggerOrdersCount: 0
                UnrealizedMarginClosedProfitLoss: 0
                UnrealizedMarginOpenProfitLoss: 0
                UnrealizedMarginProfitLoss: -550738.76
                UnrealizedPositionsValue: -43208.92
        '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:
    BalanceSubscriptionRequest:
      title: Public request contract for setting up a subscription on a balance.
      required:
      - ContextId
      - ReferenceId
      type: object
      properties:
        ContextId:
          title: "The streaming context id that this request is associated with.\n            This parameter must only contain letters (a-z) and numbers (0-9) as well as - (dash) and _ (underscore). It is case insensitive. Max length is 50 characters."
          pattern: ^[a-zA-Z0-9_-]{1,50}$
          type: string
          example: ContextId-1
          x-display-order: 1
        ReferenceId:
          title: "Mandatory client specified reference id for the subscription.\n            This parameter must only contain alphanumberic characters as well as - (dash) and _ (underscore). Cannot start with _. It is case insensitive. Max length is 50 characters."
          pattern: ^[a-zA-Z0-9-][a-zA-Z0-9_-]{0,49}$
          type: string
          example: ReferenceId-1
          x-display-order: 2
        Arguments:
          title: Arguments for the subscription request.
          allOf:
          - $ref: '#/components/schemas/BalanceRequest'
        Format:
          title: "Optional Media type (RFC 2046) of the serialized data updates that are streamed to the client.\n            Currently only application/json and application/x-protobuf is supported.\n            If an unrecognized format is specified, the subscription end point will return HTTP status code 400 - Bad format."
          type: string
          example: application/json
        RefreshRate:
          title: "Optional custom refresh rate, measured in milliseconds, between each data update.\n            Note that it is not possible to get a refresh rate lower than the rate specified in the\n            customer service level agreement (SLA)."
          maximum: 2147483647
          minimum: 0
          type: integer
          format: int32
          example: 0
        ReplaceReferenceId:
          title: Reference id of the subscription that should be replaced.
          pattern: ^[a-zA-Z0-9-][a-zA-Z0-9_-]{0,49}$
          type: string
          example: ReplaceReferenceId-1
        Tag:
          title: Optional client specified tag used for grouping subscriptions.
          type: string
          example: ClientTag
      additionalProperties: false
      example:
        Arguments:
          AccountGroupKey: null
          AccountKey: null
          ClientKey: 7m4I|vtYLUnEGg77o9uQhw==
        ContextId: '20221030064906306'
        ReferenceId: B49083
        RefreshRate: 500
        Tag: MyBalancesRelatedSubscriptions
    InstrumentCollateralDetail:
      title: Instrument collateral detail
      type: object
      properties:
        AssetType:
          title: Instrument Asset type
          allOf:
          - $ref: '#/components/schemas/AssetType'
        Description:
          title: Instrument Description
          type: string
          example: stringValue
        InitialCollateral:
          title: Initial collateral available of the instrument
          type: number
          example: 10
        InitialCollateralNotAvailable:
          title: Initial collateral not available of the instrument
          type: number
          example: 10
        MaintenanceCollateral:
          title: Maintenance collateral available of the instrument
          type: number
          example: 10
        MaintenanceCollateralNotAvailable:
          title: Maintenance collateral not available of the instrument
          type: number
          example: 10
        MarketValue:
          title: Market value of the instrument
          type: number
          example: 10
        Symbol:
          title: Instrument Symbol
          type: string
          example: stringValue
        Uic:
          title: Uic of the instrument
          type: integer
          format: int32
          example: 99
      additionalProperties: false
      example:
        AssetType: PortfolioNote
        Description: stringValue
        InitialCollateral: 10
        InitialCollateralNotAvailable: 10
        MaintenanceCollateral: 10
        MaintenanceCollateralNotAvailable: 10
        MarketValue: 10
        Symbol: stringValue
        Uic: 99
    BalanceRequest:
      title: Represents a request for the account balance for a specified Client, AccountGroup or Account.
      required:
      - ClientKey
      type: object
      properties:
        AccountGroupKey:
          title: The key of the account group for which the balance data is returned
          minLength: 1
          type: string
          x-type-name: AccountGroupKey
        AccountKey:
          title: The key of the account for which the balance data is returned
          minLength: 1
          type: string
          x-type-name: AccountKey
        ClientKey:
          title: The key of the client for which the balance data is returned
          minLength: 1
          type: string
          x-type-name: ClientKey
        FieldGroups:
          title: Specifies which data to return.
          type: array
          items:
            $ref: '#/components/schemas/BalanceFieldGroup'
      additionalProperties: false
      example:
        AccountGroupKey: stringValue
        AccountKey: 01b64edf-da03-4145-bf33-ae21527d4c86
        ClientKey: 493b43a5-fe85-4d1f-9071-dd4a9d4e42a4
        FieldGroups:
        - MarginOverview
    MarginCollateralNotAvailableDetail:
      title: Detail of Margin Collateral Not Available
      type: object
      properties:
        InitialFxHaircut:
          title: Initial Fx Haircut
          type: number
          example: 10
        InstrumentCollateralDetails:
          title: Instrument collateral collection
          type: array
          items:
            $ref: '#/components/schemas/InstrumentCollateralDetail'
          example:
          - AssetType: GuaranteeNote
            Description: stringValue
            InitialCollateral: 10
            InitialCollateralNotAvailable: 10
            MaintenanceCollateral: 10
            MaintenanceCollateralNotAvailable: 10
            MarketValue: 10
            Symbol: stringValue
            Uic: 99
        MaintenanceFxHaircut:
          title: Maintenance Fx Haircut
          type: number
          example: 10
      additionalProperties: false
      example:
        InitialFxHaircut: 10
        InstrumentCollateralDetails:
        - AssetType: CompanyWarrant
          Description: stringValue
          InitialCollateral: 10
          InitialCollateralNotAvailable: 10
          MaintenanceCollateral: 10
          MaintenanceCollateralNotAvailable: 10
          MarketValue: 10
          Symbol: stringValue
          Uic: 99
        MaintenanceFxHaircut: 10
    MarginOverviewGroup:
      title: Margin utilization of the AssetType group as applied to the overall margin calculation.
      type: object
      properties:
        Contributors:
          title: Contributors are either a list of instruments or a single (anonymous) object representing implicitly aggregated contributors
          type: array
          items:
            $ref: '#/components/schemas/MarginOverviewContributor'
          example:
          - AssetTypes:
            - FxSpot
            InstrumentDescription: EURUSD description
            InstrumentSpecifier: EURUSD
            Margin: 1235
            Uic: 21
        GroupType:
          title: AssetType group - used by margin calculation.
          allOf:
          - $ref: '#/components/schemas/MarginOverviewGroupType'
        TotalMargin:
          title: Total margin impact of the group of instrument.
          type: number
          example: 10
      additionalProperties: false
      example:
        Contributors:
        - AssetTypes:
          - FxSpot
          InstrumentDescription: EURUSD description
          InstrumentSpecifier: EURUSD
          Margin: 1235
          Uic: 21
        - AssetTypes:
          - FxSpot
          InstrumentDescription: GBPUSD description
          InstrumentSpecifier: GBPUSD
          Margin: 789
          Uic: 22
        GroupType: FX
        TotalMargin: 100000
    TransactionsNotBookedDetail:
      title: Detail of transaction(s) that yet have to be booked.
      type: object
      properties:
        Accrual:
          title: Net accrual for the transaction(s) not booked yet
          type: number
          example: 10
        AdditionalTransactionCost:
          title: Net additional transaction cost for the transaction(s) not booked yet
          type: number
          example: 10
        BondValue:
          title: Net bond value for the transaction(s) not booked yet
          type: number
          example: 10
        CashDeposit:
          title: Net cash deposit for the transaction(s) not booked yet
          type: number
          example: 10
        CashReservation:
          title: Net cash reservation for the transaction(s) not booked yet
          type: number
          example: 10
        CashWithdrawal:
          title: Net cash withdrawal for the transaction(s) not booked yet
          type: number
          example: 10
        CertificatesValue:
          title: Net value of certificates for the transaction(s) not booked yet
          type: number
          example: 10
        Commission:
          title: Net commission for the transaction(s) not booked yet
          type: number
          example: 10
        ExchangeFee:
          title: Net exchange fee for the transaction(s) not booked yet
          type: number
          example: 10
        ExternalCharges:
          title: Net external charges for the transaction(s) not booked yet
          type: number
          example: 10
        FundsReservedByOrder:
          title: Net funds reserved by order for the transaction(s) not booked yet
          type: number
          example: 10
        IpoSubscriptionFee:
          title: IPO subscription fee for the transaction(s) not booked yet
          type: number
          example: 10
        LeveragedKnockOutProductsValue:
          title: Net value of leveraged knock-out products (Turbos) for the transaction(s) not booked yet.
          type: number
          example: 10
        MutualFundValue:
          title: Net mutual fund value for the transaction(s) not booked yet
          type: number
          example: 10
        OptionPremium:
          title: Net option premium for the transaction(s) not booked yet
          type: number
          example: 10
        ShareValue:
          title

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