CrossTrade Docs
Basic CommandsAdvanced Commands
  • Welcome!
    • Set Up Guide
  • Getting Started
    • Installation
    • User Dashboard
      • XT Control Panel
      • Manual Trader
      • Command Builder
    • Alert History
    • TradingView Alerts
      • Dynamic Variables
      • XT Alert Builder
      • Example Indicators
      • Example Strategies
    • VPS Connection Guide
  • Webhooks
    • Overview
    • Commands
      • Place Order
      • Flat Place Order
      • Close Position
      • Reverse
      • Reverse Position
      • Flatten Positions
      • Flatten Everything
      • Cancel Order
      • Cancel Orders
      • Cancel All Orders
      • Cancel Replace
      • Change Order
      • Close Strategy
    • Advanced Options
      • Multi-Account Placement
      • Flatten First
      • Require Market Position
      • Max Positions
      • Bracket Orders
      • Percentage and Tick Prices
      • Limit Order Timeouts
      • Trading Window
      • Bypass Trade Windows
      • Delay Timer
      • Rate-Limiting
      • Alert Commenting
      • Kill Switch
      • Notes
    • Examples & Use Cases
    • Troubleshooting
  • Account Manager
    • Overview
      • How It Works
      • Dashboard
      • Global Settings
      • Frequently Asked Questions (FAQ)
    • Monitors
      • Profit/Loss Thresholds
      • Minimum Profit Drawdown
      • Trailing Drawdown
      • Advanced Usage
    • Account Settings
      • Auto-Flattening
      • Trading Windows
    • Management Logs
  • NinjaTrader
    • ATM Strategies
      • Creating ATM Template
    • Optimizing NinjaTrader Performance
    • Enabling Multi-Provider Mode
  • CrossTrade API
    • Overview
    • Authentication
    • Rate Limiting
    • Webhook Trading
    • Accounts
      • GET Accounts Summary
      • GET Accounts
      • GET Account
    • Positions
      • GET Positions
      • GET Position
      • POST Close Position
      • POST Reverse
      • POST Reverse Position
      • POST Flatten Positions
      • POST Flatten Everything
    • Orders
      • GET Orders
      • GET Order
      • GET Order Status
      • POST Cancel Order
      • POST Cancel Orders
      • POST Cancel All Orders
      • POST Place Order
      • POST Flat Place Order
      • POST Replace Order
      • PUT Change Order
    • Strategies
      • GET Strategies
      • GET Strategy
      • POST Close Strategy
    • Executions
      • GET Executions
      • GET Execution
    • Quotes
      • GET Quote
  • Changelog
    • XT Versions
    • All Updates
  • Affiliate Program
    • Media Kit
  • Social Links
    • Discord
    • TradingView
    • YouTube
    • X (Twitter)
    • Instagram
    • Facebook
    • Reddit
    • Website
    • Blog
Powered by GitBook
On this page
  1. CrossTrade API
  2. Executions

GET Execution

Retrieves meta data of a single execution, specific by the execution ID.

Get execution by ID

GET /v1/api/accounts/{account}/executions/{executionId}

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

Name
Type
Required
Description

account

string

Required

Name of account in NT8

executionId

integer

Required

ID of the order execution

Code Examples (coming soon)

// Some code
const message = "hello world";
console.log(message);
message = "hello world"
print(message)

Response

{
    "id": "550837ff9e784c2895ef6dab22d06be0",
    "type": "NinjaTrader.Cbi.Execution",
    "time": "2024-09-26T18:09:38.3736787",
    "epoch": 1727399378373,
    "name": "Exit",
    "orderId": "d99b2043460849ddae409d1b15cb92ff",
    "account": "Sim101",
    "serverName": "DESKTOP-200Q1V3",
    "instrument": "ES 12-24",
    "instrumentType": "Future",
    "position": 0,
    "marketPosition": "Short",
    "positionStrategy": 0,
    "price": 5804.5,
    "quantity": 1,
    "rate": 1.0,
    "commission": "0.00",
    "slippage": 0.0,
    "lotSize": 1.0,
    "isEntry": false,
    "isEntryStrategy": false,
    "isExit": true,
    "isExitStrategy": true,
    "isInitialEntry": false,
    "isLastExit": true,
    "isSod": false,
    "barsInProgress": 0,
    "exchange": "Default",
    "success": true
}
{
  "error": "Invalid request"
}
PreviousGET ExecutionsNextQuotes

Last updated 7 months ago