DriveWealth · Schema

DriveWealth Order

A trade order submitted through the DriveWealth REST API representing a buy or sell instruction for a financial instrument on behalf of an investor account.

Brokerage-as-a-ServiceEmbedded InvestingFractional SharesTradingFintechEquitiesETFsOptionsFixed IncomeMutual FundsPortfolio-ManagementAccount OpeningKYCFinancial-Services

Properties

Name Type Description
id string Unique DriveWealth order identifier.
accountID string Account identifier against which this order is placed.
userID string User identifier associated with the account placing the order.
instrumentID string DriveWealth unique identifier for the financial instrument being traded.
symbol string Ticker symbol of the instrument (e.g., AAPL, SPY).
side string Direction of the trade.
orderType string Type of order instruction.
quantity numbernull Number of shares to trade (null for dollar-amount orders).
amount numbernull Dollar amount to trade (null for share-quantity orders). Supports fractional shares.
limitPrice numbernull Limit price for LIMIT and STOP_LIMIT orders.
stopPrice numbernull Stop trigger price for STOP and STOP_LIMIT orders.
timeInForce string Duration the order remains active.
status string Current status of the order.
filledQuantity numbernull Total shares filled for this order.
avgPrice numbernull Average execution price of filled shares.
commission numbernull Commission charged for this order.
fees numbernull Regulatory and exchange fees assessed for this order.
externalOrderID string Partner-assigned order identifier for idempotency and reconciliation.
createdWhen string ISO 8601 timestamp when the order was created.
executedWhen stringnull ISO 8601 timestamp when the order was fully executed.
updatedWhen string ISO 8601 timestamp of the last order status update.
View JSON Schema on GitHub

JSON Schema

drivewealth-order.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developer.drivewealth.com/schemas/order",
  "title": "DriveWealth Order",
  "description": "A trade order submitted through the DriveWealth REST API representing a buy or sell instruction for a financial instrument on behalf of an investor account.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique DriveWealth order identifier.",
      "pattern": "^[0-9a-fA-F-]{36}$"
    },
    "accountID": {
      "type": "string",
      "description": "Account identifier against which this order is placed.",
      "pattern": "^[0-9a-fA-F-]{36}$"
    },
    "userID": {
      "type": "string",
      "description": "User identifier associated with the account placing the order.",
      "pattern": "^[0-9a-fA-F-]{36}$"
    },
    "instrumentID": {
      "type": "string",
      "description": "DriveWealth unique identifier for the financial instrument being traded.",
      "pattern": "^[0-9a-fA-F-]{36}$"
    },
    "symbol": {
      "type": "string",
      "description": "Ticker symbol of the instrument (e.g., AAPL, SPY)."
    },
    "side": {
      "type": "string",
      "description": "Direction of the trade.",
      "enum": ["B", "S"]
    },
    "orderType": {
      "type": "string",
      "description": "Type of order instruction.",
      "enum": ["MARKET", "LIMIT", "STOP", "STOP_LIMIT"]
    },
    "quantity": {
      "type": ["number", "null"],
      "description": "Number of shares to trade (null for dollar-amount orders).",
      "minimum": 0
    },
    "amount": {
      "type": ["number", "null"],
      "description": "Dollar amount to trade (null for share-quantity orders). Supports fractional shares.",
      "minimum": 0
    },
    "limitPrice": {
      "type": ["number", "null"],
      "description": "Limit price for LIMIT and STOP_LIMIT orders.",
      "minimum": 0
    },
    "stopPrice": {
      "type": ["number", "null"],
      "description": "Stop trigger price for STOP and STOP_LIMIT orders.",
      "minimum": 0
    },
    "timeInForce": {
      "type": "string",
      "description": "Duration the order remains active.",
      "enum": ["DAY", "GTC", "IOC", "FOK"]
    },
    "status": {
      "type": "string",
      "description": "Current status of the order.",
      "enum": [
        "PENDING",
        "WORKING",
        "PARTIAL",
        "FILLED",
        "CANCELED",
        "REJECTED",
        "EXPIRED"
      ]
    },
    "filledQuantity": {
      "type": ["number", "null"],
      "description": "Total shares filled for this order.",
      "minimum": 0
    },
    "avgPrice": {
      "type": ["number", "null"],
      "description": "Average execution price of filled shares.",
      "minimum": 0
    },
    "commission": {
      "type": ["number", "null"],
      "description": "Commission charged for this order.",
      "minimum": 0
    },
    "fees": {
      "type": ["number", "null"],
      "description": "Regulatory and exchange fees assessed for this order.",
      "minimum": 0
    },
    "externalOrderID": {
      "type": "string",
      "description": "Partner-assigned order identifier for idempotency and reconciliation."
    },
    "createdWhen": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the order was created."
    },
    "executedWhen": {
      "type": ["string", "null"],
      "format": "date-time",
      "description": "ISO 8601 timestamp when the order was fully executed."
    },
    "updatedWhen": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp of the last order status update."
    }
  },
  "required": ["id", "accountID", "instrumentID", "side", "orderType", "timeInForce", "status"],
  "additionalProperties": true
}

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/drivewealth-order"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.