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

# List all open positions for the authenticated user

> Returns all currently open trading positions for the authenticated user. Use this to review current exposure, unrealized P&L, and portfolio concentration. Does not include pending orders or closed trades.



## OpenAPI

````yaml /openapi-readme.json get /trading/positions
openapi: 3.1.0
info:
  title: Amana API
  version: 1.0.0
  description: API documentation for Amana platform
servers:
  - url: https://gateway.amana.io
    description: Amana app
security: []
tags:
  - name: onboarding
    description: Endpoints related to user onboarding, KYC processes, and account setup.
  - name: auth
    description: Endpoints for user authentication, token management, and session handling.
  - name: trading
    description: >-
      Endpoints related to trading operations, account management, and market
      data retrieval.
  - name: charting
    description: >-
      Endpoints for retrieving historical price data, technical indicators, and
      other charting-related information.
  - name: uaepass
    description: Endpoints for UAE Pass authentication and identity verification.
  - name: alerts
  - name: cms
  - name: dw
  - name: events
  - name: geo-location
  - name: high-leverage
  - name: kyc
  - name: mt
  - name: nafath
  - name: payments
  - name: promo-codes
  - name: smart-money
  - name: support
  - name: symbols
  - name: trading-accounts
  - name: transactions
  - name: user
  - name: watchlists
paths:
  /trading/positions:
    get:
      tags:
        - trading
      summary: List all open positions for the authenticated user
      description: >-
        Returns all currently open trading positions for the authenticated user.
        Use this to review current exposure, unrealized P&L, and portfolio
        concentration. Does not include pending orders or closed trades.
      operationId: getUserPositions
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  positions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        symbol:
                          type: string
                        logo:
                          type: string
                        delayed:
                          default: false
                          type: boolean
                        sharia:
                          default: false
                          type: boolean
                        digits:
                          type: number
                        friendlyName:
                          type: string
                        units:
                          type: number
                        priceOpen:
                          type: number
                        priceCurrent:
                          type: number
                        timeCreate:
                          type: number
                        timeUpdate:
                          type: number
                        leverage:
                          type: number
                        rateMargin:
                          default: 1
                          type: number
                        rateProfit:
                          default: 1
                          type: number
                        isBuy:
                          type: boolean
                        sl:
                          default: 0
                          type: number
                        tp:
                          default: 0
                          type: number
                        storage:
                          default: 0
                          type: number
                        comment:
                          type: string
                        profit:
                          default: 0
                          type: number
                        invested:
                          default: 0
                          type: number
                      required:
                        - id
                        - symbol
                        - logo
                        - delayed
                        - sharia
                        - digits
                        - friendlyName
                        - units
                        - priceOpen
                        - priceCurrent
                        - timeCreate
                        - timeUpdate
                        - leverage
                        - rateMargin
                        - rateProfit
                        - isBuy
                        - sl
                        - tp
                        - storage
                        - comment
                        - profit
                        - invested
                      additionalProperties: false
                required:
                  - positions
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  details:
                    type: object
                    additionalProperties: true
                required:
                  - error
                additionalProperties: false
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained from authentication endpoints

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.