Orion Advisor Solutions Trading/Trade Definition API

The Trading/TradeDefinition API from Orion Advisor Solutions — 1 operation(s) for trading/tradedefinition.

Operations 1

GET /v1/Trading/TradeDefinition This generates a generic trade definition loaded with the database default… #

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/orion-advisor-solutions-trading-tradedefinition-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

orion-advisor-solutions-trading-tradedefinition-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: V1
  title: Orion Connect Trading/Trade Definition API
  x-swagger-net-version: 8.4.12.001
servers:
- url: https://api.orionadvisor.com/api
tags:
- name: Trading/TradeDefinition
paths:
  /v1/Trading/TradeDefinition:
    get:
      tags:
      - Trading/TradeDefinition
      summary: This generates a generic trade definition loaded with the database default…
      operationId: Trading_GetTradeDefinitionAsync
      parameters:
      - name: routine
        in: query
        description: Required. The kind of trade definition to return
        required: true
        schema:
          type: string
          enum:
          - Undefined
          - Rebalance
          - GlobalTrades
          - BuySell
          - SellAll
          - TargetPercent
          - ProRated
          - QuickTrade
          - QuickTradeBlock
          - Distribution
          - OptionTrade
      - name: resetCache
        in: query
        description: 'Optional. Default: false. The result is cached for fifteen minutes. To force the cache to refresh call with resetCache = true.'
        required: false
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OAS.Remote.Trading.TradeDefinition'
            application/json:
              schema:
                $ref: '#/components/schemas/OAS.Remote.Trading.TradeDefinition'
            text/json:
              schema:
                $ref: '#/components/schemas/OAS.Remote.Trading.TradeDefinition'
            application/xml:
              schema:
                $ref: '#/components/schemas/OAS.Remote.Trading.TradeDefinition'
            text/xml:
              schema:
                $ref: '#/components/schemas/OAS.Remote.Trading.TradeDefinition'
            multipart/form-data:
              schema:
                $ref: '#/components/schemas/OAS.Remote.Trading.TradeDefinition'
      security:
      - Authorization: []
components:
  schemas:
    OAS.Remote.Trading.TradeDefinition:
      properties:
        routine:
          type: string
          enum:
          - Undefined
          - Rebalance
          - GlobalTrades
          - BuySell
          - SellAll
          - TargetPercent
          - ProRated
          - QuickTrade
          - QuickTradeBlock
          - Distribution
          - OptionTrade
        scheduled:
          type: boolean
        recalcInstance:
          type: boolean
        scheduledRunTime:
          type: object
        description:
          type: string
        nsccTransactionType:
          type: string
          enum:
          - UseDefault
          - NormalPurchase
          - Nav
          - Roa
          - Loi
        assetValues:
          type: string
          enum:
          - UseDefault
          - Current
          - Pending
          - PendingTransactionsAndOrders
        minTradeAmount:
          type: number
          format: double
        postProcess:
          type: string
          enum:
          - Run
          - Skip
        useProductSubstitution:
          type: string
          enum:
          - UseDefault
          - Use
          - Ignore
        stfWarningDays:
          type: integer
          format: int32
        tradeInstanceID:
          type: integer
          format: int32
        includeCustodialCash:
          type: boolean
        notes:
          type: string
        inboxAlert:
          type: boolean
        disableRealTimePrices:
          type: boolean
        sessionID:
          example: 00000000-0000-0000-0000-000000000000
          type: string
          format: uuid
        caption:
          type: string
        filename:
          type: string
        runDisconnected:
          type: boolean
        instanceType:
          type: string
          enum:
          - Undefined
          - GlobalTrade
          - Modeling
          - CheckReq
          - FeeReq
          - BuySell
          - ACHReq
          - EligibleTrades
          - All
          - CashFundADV
          - CashFundSWD
          - SWPDCA
          - SysPurchTrade
          - Distribution
          - Contribution
        securityTicket:
          type: string
          format: byte
        commonSecurityTicket:
          type: string
          format: byte
        authToken:
          type: string
        commonServer:
          type: string
        databaseID:
          type: integer
          format: int32
        correlationId:
          example: 00000000-0000-0000-0000-000000000000
          type: string
          format: uuid
        a_UserDetailId:
          type: integer
          format: int32
        i_UserDetailId:
          type: integer
          format: int32
      xml:
        name: TradeDefinition
      type: object
  securitySchemes:
    Authorization:
      type: apiKey
      description: 'JWT Authorization header using the Session scheme. Example: "Authorization: Session {token}"'
      name: Authorization
      in: header