Bloomberg AIM · Schema

CreateOrderAndRouteRequest

Financial DataMarket DataOrder ManagementPortfolio ManagementTrading

Properties

Name Type Description
EMSX_TICKER string Bloomberg security identifier
EMSX_AMOUNT integer Order quantity (number of shares/contracts)
EMSX_ORDER_TYPE string Order type
EMSX_SIDE string Buy or sell
EMSX_TIF string Time in force
EMSX_LIMIT_PRICE number Limit price (required for LMT and STP LMT orders)
EMSX_STOP_PRICE number Stop price (required for STP and STP LMT orders)
EMSX_ACCOUNT string Trading account identifier
EMSX_NOTES string Free-text notes attached to the order
EMSX_HAND_INSTRUCTION string Handling instruction
EMSX_BASKET_NAME string Name of the basket this order belongs to
EMSX_CFD_FLAG string Contract for difference flag
EMSX_CUSTOM_NOTE1 string
EMSX_CUSTOM_NOTE2 string
EMSX_CUSTOM_NOTE3 string
EMSX_CUSTOM_NOTE4 string
EMSX_CUSTOM_NOTE5 string
EMSX_GTD_DATE string Good-till-date in YYYYMMDD format
EMSX_INVESTOR_ID string Investor identifier for allocation
EMSX_LOCATE_BROKER string Locate broker for short sells
EMSX_LOCATE_ID string Locate ID for short sells
EMSX_PORTFOLIO string Portfolio name for the order
EMSX_BROKER string Broker code for routing
EMSX_STRATEGY string Broker execution strategy name
EMSX_STRATEGY_PARAMS object Strategy-specific parameters
EMSX_EXEC_INSTRUCTIONS string Execution instructions for the broker
View JSON Schema on GitHub

JSON Schema

bloomberg-aim-create-order-and-route-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-aim/json-schema/bloomberg-aim-create-order-and-route-request-schema.json",
  "title": "CreateOrderAndRouteRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-aim-orders-api-openapi.yml#/components/schemas/CreateOrderAndRouteRequest",
  "allOf": [
    {
      "$ref": "#/$defs/CreateOrderRequest"
    },
    {
      "type": "object",
      "required": [
        "EMSX_BROKER"
      ],
      "properties": {
        "EMSX_BROKER": {
          "type": "string",
          "description": "Broker code for routing"
        },
        "EMSX_STRATEGY": {
          "type": "string",
          "description": "Broker execution strategy name"
        },
        "EMSX_STRATEGY_PARAMS": {
          "type": "object",
          "description": "Strategy-specific parameters",
          "additionalProperties": true
        },
        "EMSX_EXEC_INSTRUCTIONS": {
          "type": "string",
          "description": "Execution instructions for the broker"
        }
      }
    }
  ],
  "$defs": {
    "CreateOrderRequest": {
      "type": "object",
      "required": [
        "EMSX_TICKER",
        "EMSX_AMOUNT",
        "EMSX_ORDER_TYPE",
        "EMSX_SIDE",
        "EMSX_TIF"
      ],
      "properties": {
        "EMSX_TICKER": {
          "type": "string",
          "description": "Bloomberg security identifier"
        },
        "EMSX_AMOUNT": {
          "type": "integer",
          "description": "Order quantity (number of shares/contracts)"
        },
        "EMSX_ORDER_TYPE": {
          "type": "string",
          "description": "Order type",
          "enum": [
            "MKT",
            "LMT",
            "STP",
            "STP LMT"
          ]
        },
        "EMSX_SIDE": {
          "type": "string",
          "description": "Buy or sell",
          "enum": [
            "BUY",
            "SELL",
            "SHRT"
          ]
        },
        "EMSX_TIF": {
          "type": "string",
          "description": "Time in force",
          "enum": [
            "DAY",
            "GTC",
            "OPG",
            "IOC",
            "FOK",
            "GTD",
            "MOC",
            "LOC"
          ]
        },
        "EMSX_LIMIT_PRICE": {
          "type": "number",
          "description": "Limit price (required for LMT and STP LMT orders)"
        },
        "EMSX_STOP_PRICE": {
          "type": "number",
          "description": "Stop price (required for STP and STP LMT orders)"
        },
        "EMSX_ACCOUNT": {
          "type": "string",
          "description": "Trading account identifier"
        },
        "EMSX_NOTES": {
          "type": "string",
          "description": "Free-text notes attached to the order"
        },
        "EMSX_HAND_INSTRUCTION": {
          "type": "string",
          "description": "Handling instruction",
          "enum": [
            "ANY",
            "DIR",
            "FCM"
          ]
        },
        "EMSX_BASKET_NAME": {
          "type": "string",
          "description": "Name of the basket this order belongs to"
        },
        "EMSX_CFD_FLAG": {
          "type": "string",
          "description": "Contract for difference flag",
          "enum": [
            "Y",
            "N"
          ]
        },
        "EMSX_CUSTOM_NOTE1": {
          "type": "string"
        },
        "EMSX_CUSTOM_NOTE2": {
          "type": "string"
        },
        "EMSX_CUSTOM_NOTE3": {
          "type": "string"
        },
        "EMSX_CUSTOM_NOTE4": {
          "type": "string"
        },
        "EMSX_CUSTOM_NOTE5": {
          "type": "string"
        },
        "EMSX_GTD_DATE": {
          "type": "string",
          "description": "Good-till-date in YYYYMMDD format"
        },
        "EMSX_INVESTOR_ID": {
          "type": "string",
          "description": "Investor identifier for allocation"
        },
        "EMSX_LOCATE_BROKER": {
          "type": "string",
          "description": "Locate broker for short sells"
        },
        "EMSX_LOCATE_ID": {
          "type": "string",
          "description": "Locate ID for short sells"
        },
        "EMSX_PORTFOLIO": {
          "type": "string",
          "description": "Portfolio name for the order"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/bloomberg-aim-create-order-and-route-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.