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

# Get effective account trading policy

> Returns an advisory snapshot of effective account rules, configured trading limits, user restrictions, payout and copy locks, and trading halts. Read scope is sufficient. Placement and settlement recheck authority; this snapshot does not reserve capacity or guarantee an order will pass.



## OpenAPI

````yaml /openapi.yaml get /v1/accounts/{account_id}/trading-policy
openapi: 3.1.0
info:
  title: MyFundedPerps API (Beta)
  version: 1.0.0
  description: >-
    The developer API is in beta. Breaking changes may be introduced at any
    time. Programmatic access to MyFundedPerps paper-trading challenge accounts.
    API trades use the same real order books and simulated execution engine as
    the web trading interface. Every response carries an `X-Request-Id` header
    for support and log correlation.
  contact:
    url: https://myfundedperpetuals.com/support
servers:
  - url: https://developers.myfundedperpetuals.com
    description: Live
  - url: https://sandbox.myfundedperpetuals.com
    description: Sandbox (test keys and sandbox accounts only)
security:
  - bearerAuth: []
tags:
  - name: General
  - name: Authentication
  - name: Accounts
  - name: Markets
  - name: Positions
  - name: Orders
  - name: Fills
  - name: Strategy Orders
paths:
  /v1/accounts/{account_id}/trading-policy:
    get:
      tags:
        - Accounts
      summary: Get effective account trading policy
      description: >-
        Returns an advisory snapshot of effective account rules, configured
        trading limits, user restrictions, payout and copy locks, and trading
        halts. Read scope is sufficient. Placement and settlement recheck
        authority; this snapshot does not reserve capacity or guarantee an order
        will pass.
      operationId: getAccountTradingPolicy
      parameters:
        - $ref: '#/components/parameters/AccountId'
      responses:
        '200':
          description: Effective account trading policy.
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/AccountTradingPolicy'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    AccountId:
      name: account_id
      in: path
      required: true
      schema:
        type: string
  schemas:
    AccountTradingPolicy:
      type: object
      required:
        - account_id
        - observed_at
        - advisory
        - status
        - stage
        - manual_trading_blocked
        - opening_exposure_restricted
        - payout_pending
        - copy_follower_locked
        - copy_scope_blocked
        - fee_exempt
        - restriction
        - copy_stop
        - competition
        - trading_halt
        - limits
        - unlimited_trade_count_threshold
        - slippage_tolerance_bps
        - account_rules
        - maximum_total_notional_usd
      properties:
        account_id:
          type: string
        observed_at:
          type: number
        advisory:
          type: boolean
          description: Always true; this response is advisory.
        status:
          type: string
        stage:
          type: string
          enum:
            - evaluation
            - funded
        manual_trading_blocked:
          type: boolean
        opening_exposure_restricted:
          type: boolean
        payout_pending:
          type: boolean
        copy_follower_locked:
          type: boolean
        copy_scope_blocked:
          type: boolean
          description: >-
            An enabled source group contains a configured member outside this
            credential ownership, environment, archive, or allowlist authority.
            No member IDs are exposed. Operation-specific stale-copy checks
            remain authoritative.
        fee_exempt:
          type: boolean
        restriction:
          oneOf:
            - $ref: '#/components/schemas/TradingPolicyRestriction'
            - type: 'null'
        copy_stop:
          oneOf:
            - $ref: '#/components/schemas/TradingPolicyCopyStop'
            - type: 'null'
        competition:
          oneOf:
            - $ref: '#/components/schemas/TradingPolicyCompetition'
            - type: 'null'
        trading_halt:
          $ref: '#/components/schemas/TradingPolicyHalt'
        limits:
          type: object
          required:
            - trades_per_minute
            - trades_per_hour
            - trades_per_day
            - order_cooldown_ms
            - max_open_positions
            - max_position_value_usd
            - min_order_notional_usd
            - execution_delay_min_ms
            - execution_delay_max_ms
            - max_book_staleness_ms
            - maintenance_margin_ratio_bps
            - liquidation_fee_bps
            - max_resting_orders
            - risk_touch_window_ms
          properties:
            trades_per_minute:
              type: number
            trades_per_hour:
              type: number
            trades_per_day:
              type: number
            order_cooldown_ms:
              type: number
            max_open_positions:
              type: number
            max_position_value_usd:
              type: number
            min_order_notional_usd:
              type: number
            execution_delay_min_ms:
              type: number
            execution_delay_max_ms:
              type: number
            max_book_staleness_ms:
              type: number
            maintenance_margin_ratio_bps:
              type: number
            liquidation_fee_bps:
              type: number
            max_resting_orders:
              type: number
            risk_touch_window_ms:
              type: number
        unlimited_trade_count_threshold:
          type: number
        slippage_tolerance_bps:
          $ref: '#/components/schemas/TradingPolicySlippage'
        account_rules:
          type: array
          items:
            type: object
            required:
              - id
              - parameters
            properties:
              id:
                type: string
              parameters:
                type: object
                additionalProperties:
                  oneOf:
                    - type: number
                    - type: string
        maximum_total_notional_usd:
          type:
            - number
            - 'null'
          description: >-
            Account model/size total exposure cap; null when not configured. No
            remaining-capacity reservation.
    TradingPolicyRestriction:
      type: object
      required:
        - restriction
        - reason
        - flagged_at
      properties:
        restriction:
          type: string
          enum:
            - reduce_only
        reason:
          type: string
        flagged_at:
          type: number
    TradingPolicyCopyStop:
      type: object
      required:
        - stopped_at
        - completed_at
        - acknowledged_at
        - reason
      properties:
        stopped_at:
          type: number
        completed_at:
          type:
            - number
            - 'null'
        acknowledged_at:
          type:
            - number
            - 'null'
        reason:
          type:
            - string
            - 'null'
    TradingPolicyCompetition:
      type: object
      required:
        - opening_exposure_restricted
        - market_allowlist
      properties:
        opening_exposure_restricted:
          type: boolean
        market_allowlist:
          type: array
          items:
            type: string
    TradingPolicyHalt:
      type: object
      required:
        - platform
        - categories
      properties:
        platform:
          type: boolean
        categories:
          type: array
          items:
            type: string
    TradingPolicySlippage:
      type: object
      required:
        - min
        - max
        - market_order_maximum_by_provider
      properties:
        min:
          type: number
        max:
          type: number
        market_order_maximum_by_provider:
          type: object
          additionalProperties:
            type: number
          description: >-
            Effective ceiling for ordinary market orders and closes after
            applying saved user slippage protection; keyed by public provider.
            Requested tolerance may tighten but cannot exceed this value.
            Strategy and emergency-exit policies are separate.
    ErrorEnvelope:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/Error'
    Error:
      type: object
      required:
        - code
        - message
        - request_id
      properties:
        code:
          type: string
        message:
          type: string
        request_id:
          type: string
          format: uuid
        details:
          type: array
          description: >-
            Present on request-validation failures, with one entry per invalid
            field so a request can be fixed in one pass.
          items:
            $ref: '#/components/schemas/ValidationIssue'
    ValidationIssue:
      type: object
      required:
        - field
        - issue
      properties:
        field:
          type: string
          description: >-
            Wire name of the offending request field, such as `size` or
            `operations[2].price`. The value `body` refers to the whole payload.
        issue:
          type: string
  responses:
    Unauthorized:
      description: Missing, invalid, or revoked API key.
      headers:
        WWW-Authenticate:
          schema:
            type: string
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    NotFound:
      description: Resource not found or not owned by the authenticated user.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    RateLimited:
      description: A per-key, per-IP, or deployment request budget is exhausted.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  headers:
    RequestId:
      description: Stable identifier for support and log correlation.
      schema:
        type: string
        format: uuid
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: MyFundedPerps API key
      description: >-
        API key beginning with `fp_live_` (live keys, served at
        developers.myfundedperpetuals.com) or `fp_test_` (test keys, served at
        sandbox.myfundedperpetuals.com). A key presented on the other host is
        rejected with `401` and a message naming the correct host.

````