TickerTrac position decisions API

The position decisions API from TickerTrac — 3 operation(s) for position decisions.

GitHub OpenAPI

Operations 3

POST /position-decisions/proposals Propose Position Decision #
POST /position-decisions/confirmations Confirm Position Decision #
GET /position-decisions List Position Decisions #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tickertrac-com:tickertrac-com-position-decisions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tickertrac-com-position-decisions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TickerRAG position decisions API
  version: 0.1.0
tags:
- name: position decisions
paths:
  /position-decisions/proposals:
    post:
      tags:
      - position decisions
      summary: Propose Position Decision
      operationId: propose_position_decision_position_decisions_proposals_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PositionDecisionProposalIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositionDecisionProposalOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
  /position-decisions/confirmations:
    post:
      tags:
      - position decisions
      summary: Confirm Position Decision
      operationId: confirm_position_decision_position_decisions_confirmations_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PositionDecisionConfirmationIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositionDecisionConfirmationOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
  /position-decisions:
    get:
      tags:
      - position decisions
      summary: List Position Decisions
      operationId: list_position_decisions_position_decisions_get
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: watchlist_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            exclusiveMinimum: 0
          - type: 'null'
          title: Watchlist Id
      - name: shared_thesis_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            exclusiveMinimum: 0
          - type: 'null'
          title: Shared Thesis Id
      - name: ticker
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            minLength: 1
            maxLength: 16
          - type: 'null'
          title: Ticker
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PositionDecisionOut'
                title: Response List Position Decisions Position Decisions Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    PositionDecisionConfirmationIn:
      properties:
        subject_type:
          type: string
          enum:
          - company_thesis
          - investment_theme
          title: Subject Type
        subject_version:
          type: integer
          exclusiveMinimum: 0.0
          title: Subject Version
        watchlist_id:
          anyOf:
          - type: integer
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Watchlist Id
        shared_thesis_id:
          anyOf:
          - type: integer
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Shared Thesis Id
        ticker:
          type: string
          maxLength: 16
          minLength: 1
          title: Ticker
        action:
          type: string
          enum:
          - opened
          - added
          - reduced
          - closed
          - reopened
          title: Action
        occurred_at:
          type: string
          format: date-time
          title: Occurred At
        rationale:
          anyOf:
          - type: string
            maxLength: 4000
          - type: 'null'
          title: Rationale
        event_references:
          items:
            $ref: '#/components/schemas/PositionDecisionEventReferenceIn'
          type: array
          maxItems: 10
          title: Event References
        execution_price:
          anyOf:
          - type: number
            exclusiveMinimum: 0.0
          - type: string
          - type: 'null'
          title: Execution Price
        execution_currency:
          anyOf:
          - type: string
            maxLength: 3
            minLength: 3
          - type: 'null'
          title: Execution Currency
        portfolio_weight_before_pct:
          anyOf:
          - type: number
            maximum: 100.0
            minimum: 0.0
          - type: string
          - type: 'null'
          title: Portfolio Weight Before Pct
        portfolio_weight_after_pct:
          anyOf:
          - type: number
            maximum: 100.0
            minimum: 0.0
          - type: string
          - type: 'null'
          title: Portfolio Weight After Pct
        holding_change_pct:
          anyOf:
          - type: number
            maximum: 100.0
            minimum: 0.0
          - type: string
          - type: 'null'
          title: Holding Change Pct
        supersedes_id:
          anyOf:
          - type: integer
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Supersedes Id
        schema_version:
          type: string
          const: position-decision-confirmation-v1
          title: Schema Version
        idempotency_key:
          type: string
          format: uuid
          title: Idempotency Key
        proposal_idempotency_key:
          type: string
          format: uuid
          title: Proposal Idempotency Key
        operation:
          type: string
          const: save_position_decision
          title: Operation
        confirmation_policy:
          type: string
          const: explicit_approval_required
          title: Confirmation Policy
        confirmation_statement:
          type: string
          const: I confirm this exact position decision should be saved as immutable history.
          title: Confirmation Statement
        expected_market_reference_date:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Expected Market Reference Date
        expected_market_reference_price:
          anyOf:
          - type: number
            exclusiveMinimum: 0.0
          - type: string
          - type: 'null'
          title: Expected Market Reference Price
      additionalProperties: false
      type: object
      required:
      - subject_type
      - subject_version
      - ticker
      - action
      - occurred_at
      - schema_version
      - idempotency_key
      - proposal_idempotency_key
      - operation
      - confirmation_policy
      - confirmation_statement
      title: PositionDecisionConfirmationIn
    PositionDecisionEventReferenceIn:
      properties:
        kind:
          type: string
          enum:
          - alert
          - source_event
          - theme_finding
          title: Kind
        referent_id:
          type: integer
          exclusiveMinimum: 0.0
          title: Referent Id
      additionalProperties: false
      type: object
      required:
      - kind
      - referent_id
      title: PositionDecisionEventReferenceIn
    PositionDecisionConfirmationOut:
      properties:
        schema_version:
          type: string
          const: position-decision-confirmation-v1
          title: Schema Version
        idempotency_key:
          type: string
          format: uuid
          title: Idempotency Key
        proposal_idempotency_key:
          type: string
          format: uuid
          title: Proposal Idempotency Key
        operation:
          type: string
          const: save_position_decision
          title: Operation
        confirmation_policy:
          type: string
          const: explicit_approval_required
          title: Confirmation Policy
        save_status:
          type: string
          const: saved
          title: Save Status
          default: saved
        request_replayed:
          type: boolean
          title: Request Replayed
        decision:
          $ref: '#/components/schemas/PositionDecisionOut'
        transcript_persisted:
          type: boolean
          const: false
          title: Transcript Persisted
          default: false
        provider_calls:
          type: integer
          const: 0
          title: Provider Calls
          default: 0
        model_calls:
          type: integer
          const: 0
          title: Model Calls
          default: 0
      type: object
      required:
      - schema_version
      - idempotency_key
      - proposal_idempotency_key
      - operation
      - confirmation_policy
      - request_replayed
      - decision
      title: PositionDecisionConfirmationOut
    PositionDecisionProposalOut:
      properties:
        schema_version:
          type: string
          const: position-decision-proposal-v1
          title: Schema Version
        idempotency_key:
          type: string
          format: uuid
          title: Idempotency Key
        operation:
          type: string
          const: propose_position_decision
          title: Operation
        confirmation_policy:
          type: string
          const: explicit_approval_required
          title: Confirmation Policy
        subject_type:
          type: string
          enum:
          - company_thesis
          - investment_theme
          title: Subject Type
        subject_version:
          type: integer
          title: Subject Version
        subject_label:
          type: string
          title: Subject Label
        watchlist_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Watchlist Id
        shared_thesis_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Shared Thesis Id
        ticker:
          type: string
          title: Ticker
        action:
          type: string
          enum:
          - opened
          - added
          - reduced
          - closed
          - reopened
          title: Action
        occurred_at:
          type: string
          format: date-time
          title: Occurred At
        rationale:
          anyOf:
          - type: string
          - type: 'null'
          title: Rationale
        events:
          items:
            $ref: '#/components/schemas/PositionDecisionEventOut'
          type: array
          title: Events
        price:
          $ref: '#/components/schemas/PositionDecisionPriceOut'
        portfolio_weight_before_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Portfolio Weight Before Pct
        portfolio_weight_after_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Portfolio Weight After Pct
        holding_change_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Holding Change Pct
        supersedes_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Supersedes Id
        generated_at:
          type: string
          format: date-time
          title: Generated At
        mutation_performed:
          type: boolean
          const: false
          title: Mutation Performed
          default: false
        transcript_persisted:
          type: boolean
          const: false
          title: Transcript Persisted
          default: false
        provider_calls:
          type: integer
          const: 0
          title: Provider Calls
          default: 0
        model_calls:
          type: integer
          const: 0
          title: Model Calls
          default: 0
      type: object
      required:
      - schema_version
      - idempotency_key
      - operation
      - confirmation_policy
      - subject_type
      - subject_version
      - subject_label
      - ticker
      - action
      - occurred_at
      - price
      - generated_at
      title: PositionDecisionProposalOut
    PositionDecisionProposalIn:
      properties:
        subject_type:
          type: string
          enum:
          - company_thesis
          - investment_theme
          title: Subject Type
        subject_version:
          type: integer
          exclusiveMinimum: 0.0
          title: Subject Version
        watchlist_id:
          anyOf:
          - type: integer
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Watchlist Id
        shared_thesis_id:
          anyOf:
          - type: integer
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Shared Thesis Id
        ticker:
          type: string
          maxLength: 16
          minLength: 1
          title: Ticker
        action:
          type: string
          enum:
          - opened
          - added
          - reduced
          - closed
          - reopened
          title: Action
        occurred_at:
          type: string
          format: date-time
          title: Occurred At
        rationale:
          anyOf:
          - type: string
            maxLength: 4000
          - type: 'null'
          title: Rationale
        event_references:
          items:
            $ref: '#/components/schemas/PositionDecisionEventReferenceIn'
          type: array
          maxItems: 10
          title: Event References
        execution_price:
          anyOf:
          - type: number
            exclusiveMinimum: 0.0
          - type: string
          - type: 'null'
          title: Execution Price
        execution_currency:
          anyOf:
          - type: string
            maxLength: 3
            minLength: 3
          - type: 'null'
          title: Execution Currency
        portfolio_weight_before_pct:
          anyOf:
          - type: number
            maximum: 100.0
            minimum: 0.0
          - type: string
          - type: 'null'
          title: Portfolio Weight Before Pct
        portfolio_weight_after_pct:
          anyOf:
          - type: number
            maximum: 100.0
            minimum: 0.0
          - type: string
          - type: 'null'
          title: Portfolio Weight After Pct
        holding_change_pct:
          anyOf:
          - type: number
            maximum: 100.0
            minimum: 0.0
          - type: string
          - type: 'null'
          title: Holding Change Pct
        supersedes_id:
          anyOf:
          - type: integer
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Supersedes Id
        schema_version:
          type: string
          const: position-decision-proposal-v1
          title: Schema Version
        idempotency_key:
          type: string
          format: uuid
          title: Idempotency Key
        operation:
          type: string
          const: propose_position_decision
          title: Operation
        confirmation_policy:
          type: string
          const: explicit_approval_required
          title: Confirmation Policy
      additionalProperties: false
      type: object
      required:
      - subject_type
      - subject_version
      - ticker
      - action
      - occurred_at
      - schema_version
      - idempotency_key
      - operation
      - confirmation_policy
      title: PositionDecisionProposalIn
    PositionDecisionPriceOut:
      properties:
        basis:
          type: string
          enum:
          - user_reported_execution
          - market_reference
          - unavailable
          title: Basis
        amount:
          anyOf:
          - type: number
          - type: 'null'
          title: Amount
        currency:
          anyOf:
          - type: string
          - type: 'null'
          title: Currency
        reference_date:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Reference Date
        source:
          anyOf:
          - type: string
          - type: 'null'
          title: Source
        adjustment:
          anyOf:
          - type: string
            const: splits
          - type: 'null'
          title: Adjustment
        coverage:
          anyOf:
          - type: string
            const: current_symbol
          - type: 'null'
          title: Coverage
      type: object
      required:
      - basis
      title: PositionDecisionPriceOut
    PositionDecisionEventOut:
      properties:
        kind:
          type: string
          enum:
          - alert
          - source_event
          - theme_finding
          title: Kind
        referent_id:
          type: integer
          title: Referent Id
        title:
          type: string
          title: Title
        occurred_at:
          type: string
          format: date-time
          title: Occurred At
        available_at:
          type: string
          format: date-time
          title: Available At
        source_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Url
        detail:
          anyOf:
          - type: string
          - type: 'null'
          title: Detail
        thesis_impact:
          anyOf:
          - type: string
            enum:
            - strengthened
            - weakened
            - broken
            - uncertain
          - type: 'null'
          title: Thesis Impact
        asserted_by_user:
          type: boolean
          const: true
          title: Asserted By User
          default: true
      type: object
      required:
      - kind
      - referent_id
      - title
      - occurred_at
      - available_at
      title: PositionDecisionEventOut
    PositionDecisionOut:
      properties:
        schema_version:
          type: string
          const: position-decision-v1
          title: Schema Version
          default: position-decision-v1
        id:
          type: integer
          title: Id
        subject_type:
          type: string
          enum:
          - company_thesis
          - investment_theme
          title: Subject Type
        subject_version:
          type: integer
          title: Subject Version
        subject_label:
          type: string
          title: Subject Label
        watchlist_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Watchlist Id
        shared_thesis_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Shared Thesis Id
        ticker:
          type: string
          title: Ticker
        action:
          type: string
          enum:
          - opened
          - added
          - reduced
          - closed
          - reopened
          title: Action
        occurred_at:
          type: string
          format: date-time
          title: Occurred At
        rationale:
          anyOf:
          - type: string
          - type: 'null'
          title: Rationale
        events:
          items:
            $ref: '#/components/schemas/PositionDecisionEventOut'
          type: array
          title: Events
        price:
          $ref: '#/components/schemas/PositionDecisionPriceOut'
        portfolio_weight_before_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Portfolio Weight Before Pct
        portfolio_weight_after_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Portfolio Weight After Pct
        holding_change_pct:
          anyOf:
          - type: number
          - type: 'null'
          title: Holding Change Pct
        recorded_at:
          type: string
          format: date-time
          title: Recorded At
        supersedes_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Supersedes Id
        superseded_by_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Superseded By Id
        is_current:
          type: boolean
          title: Is Current
          default: true
        immutable:
          type: boolean
          const: true
          title: Immutable
          default: true
      type: object
      required:
      - id
      - subject_type
      - subject_version
      - subject_label
      - ticker
      - action
      - occurred_at
      - price
      - recorded_at
      title: PositionDecisionOut
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key