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
  • Multi-Placement vs. Copy Trading
  • Account Cycling
  • Example Payloads
  1. Webhooks
  2. Advanced Options

Multi-Account Placement

PreviousAdvanced OptionsNextFlatten First

Last updated 1 month ago

It is possible to execute orders in multiple accounts using a single webhook alert. In fact, you can copy the command into as many account as you want (prop accounts, NT SIM, NT demo, live accounts, etc.).

Simply separate each account name with a comma and we'll generate an identical order for each account. CrossTrade will copy the order criteria and execute them sequentially, one after the other, in each account in the order of appearance in your list.

January 2025 Update

In January 2025, we identified a way to significantly increase the speed performance of order entry using multi-account placement. Previously, if more than 1 account was defined for a PLACE order, e.g., account=Sim101,Sim102,Sim103; we would wait for confirmation of order entry before sending the next order in true synchronous fashion.

Now, orders are processed asynchronously and all sent to NT8 at the same time and let NT8 decide the sequence of order placement. We tested this thoroughly and noticed no detrimental effects on order entry other than the sequence of account orders can no longer be guaranteed to arrive as they appear in CSV ordering.

The major benefit of doing it this way is the speed of multi-account placement is now on par with some of the fastest trade copiers available running 1:1 quantity ratios. We still plan to produce a full trade copier with advanced features in the futures.

Multi-Placement vs. Copy Trading

Multi-account placement is similar but distinctly different from copy trading. Typically with trade copiers, a leader account is elected along with one or more follower accounts. Whichever order actions take place in the leader account will then propagate to the follower accounts.

With multi-account placement, we instead copy the entire order instruction before it makes it to NT8 and then execute identical orders against 1 or more accounts.

Account Cycling

This feature is only available to CrossTrade Pro subscribers using NinjaTrader Account Management

A very powerful feature of Multi-Account Placement is Account Cycling. If you're prop farming, or just want to decrease the odds that you fail multiple evals at the same time through copy trading, consider Account Cycling.

Unlike standard Multi-Account Placement where orders get copied to all accounts in the list, if you have Monitors set up in NinjaTrader Account Management for multiple accounts, Account Cycling allows you to auto-select the first account in the alert's account list whose Monitor is not STOPPED.

Orders will continue to flow to that account until the Monitor is STOPPED (or inactive) for hitting a profit/loss threshold, minimum profit or trailing drawdown, etc.

By setting accounts=Sim101,Sim102,Sim103,Sim104; with the option cycle_accounts=true;, CrossTrade will iterate over the list of accounts, in the order listed, until it finds the first account that does not have a stopped Monitor. The order will then be sent to that account and only that account. In the example above, the order would be sent to Sim103.

Note that this account selection happens before any other evaluation takes place. In the Sim103 example, if the Block Signals switch were engaged, for instance, the order would ultimately be blocked.

If no Monitor exists for an account in the list, it will always be selected during cycle evaluation.

Example Payloads

The following alert message will execute identical ES 06-25 market orders in accounts sim101, sim102, and sim103.

key=your-secret-key; command=PLACE; account=Sim101,Sim102,Sim103; instrument=ES 06-25; action=BUY; qty=1; order_type=MARKET; TIF=DAY;

Learn more...

Note that multi-account placement does not guarantee delivery or execution. Orders are replicated independently, which means each can succeed or fail independent of other orders.

Account Cycling: The following alert message will execute a single ES 06-25 market order in accounts Sim101, Sim102, Sim103, or Sim104. If all Monitors are stopped for all accounts, the alert will be marked Failed.

key=your-secret-key; command=PLACE; account=Sim101,Sim102,Sim103,Sim104; instrument=ES 06-25; action=BUY; qty=1; order_type=MARKET; TIF=DAY; cycle_accounts=true;

If cycling accounts, the next order would go to Sim103