Bamboo Invest · Schema

Order Placement Parameters

InvestmentsStocksFractional SharesAfricaNigeriaPortfolio-ManagementBrokerageFintech

Properties

Name Type Description
fee number Fee from calculate order response for all order types
order_type string Order type options: `MARKET`, `STOP`, `LIMIT`
quantity number Order quantity or number of shares. NB: Fractional shares not allowed for LIMT and STOP Orders.
total_price number Order price returned from the calculate order response
price number Price per share from the calculate order response. Used for only LIMIT and STOP Orders
price_per_share number Price per share from the calculate order response
side string Order side options: `BUY` or `SELL`
symbol string Stock ticker symbol
sell_all boolean set to true if the user is trying to sell_all the shares they have for that particular stock.
expiration string Used to set expiration date for `LIMIT` or `STOP` orders
extended_hours_order boolean Set to true if the user wants their trade executed during extended hours. This only supports LIMIT orders and whole unit trading during extended hours.
View JSON Schema on GitHub

JSON Schema

orderstockrequest.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.investbamboo.com/schemas/OrderStockRequest",
  "title": "Order Placement Parameters",
  "required": [
    "fee",
    "order_type"
  ],
  "type": "object",
  "properties": {
    "fee": {
      "type": "number",
      "description": "Fee from calculate order response for all order types",
      "default": 150
    },
    "order_type": {
      "type": "string",
      "description": "Order type options: `MARKET`, `STOP`, `LIMIT`",
      "default": "MARKET"
    },
    "quantity": {
      "type": "number",
      "description": "Order quantity or number of shares. NB: Fractional shares not allowed for LIMT and STOP Orders.",
      "default": 38.22748653
    },
    "total_price": {
      "type": "number",
      "description": "Order price returned from the calculate order response",
      "default": 9850
    },
    "price": {
      "type": "number",
      "description": "Price per share from the calculate order response. Used for only LIMIT and STOP Orders",
      "default": 257.668
    },
    "price_per_share": {
      "type": "number",
      "description": "Price per share from the calculate order response",
      "default": 257.668
    },
    "side": {
      "type": "string",
      "description": "Order side options: `BUY` or `SELL`",
      "default": "BUY"
    },
    "symbol": {
      "type": "string",
      "description": "Stock ticker symbol",
      "default": "AAPL"
    },
    "sell_all": {
      "type": "boolean",
      "description": "set to true if the user is trying to sell_all the shares they have for that particular stock.",
      "example": false
    },
    "expiration": {
      "type": "string",
      "description": "Used to set expiration date for `LIMIT` or `STOP` orders",
      "default": "90 Days if no date is set",
      "example": "2025-06-13"
    },
    "extended_hours_order": {
      "type": "boolean",
      "description": "Set to true if the user wants their trade executed during extended hours. This only supports LIMIT orders and whole unit trading during extended hours.",
      "example": false
    }
  }
}

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/orderstockrequest"
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.