This article explains the message Riskanto: order refused, <account> holds the other side of <instrument>; close it first. and its variants. They come from Riskanto's guard against opposite positions, which refuses an order that would put one account on the other side of a market another account of the same set is on (long in one account, short in another).
Short answer
Riskanto refused the order inside NinjaTrader before it reached the broker, because another account of the same connection (or this account itself, in another contract of the same market) holds, works or is entering the other side. Nothing was sent. Closing orders still work. To place the order, close the other side first, wait for the other account's working order to be cancelled or filled, or switch the guard off.
Where you see it
- The order shows as Rejected in NinjaTrader, with the message as its reason.
- NinjaTrader's Alerts window shows <account>, Riskanto: order refused, ... with the affected order.
- Riskanto's Activity panel shows Order refused (opposite position).
The account named in the message is the other account; the instrument is the market, such as NQ, which also covers MNQ and every expiry.
Each variant and what to do
| Message | What it means | What to do |
|---|---|---|
| Riskanto: order refused, Sim103 holds the other side of NQ; close it first. | Sim103 has an open position on the other side of NQ (or MNQ, any expiry). | Close Sim103's position first. |
| Riskanto: order refused, Sim103 has an order working on the other side of NQ. | Sim103 has no position, but a working order that would open the other side. | Cancel Sim103's working order first, or wait for it to be cancelled or filled. Once it fills, Sim103 holds the other side (the first row). |
| Riskanto: order refused, Sim103 is entering the other side of NQ. | Sim103's entry on the other side is being filled at that moment. | Wait for it. Once filled, Sim103 holds the other side (the first row). |
| Riskanto: order refused, Sim103 holds the other side of NQ; close this account's position first. | Your order is a reversal: it would close this account's position and open the other side in one order. A reversal is refused whole. The first part can also read has an order working on or is entering. | Close this account's position with its own closing order, which works. Opening the other side stays refused while Sim103 is on that side. |
| Riskanto: order refused, this account holds the other side of NQ; close it first. | The same account holds the other side in another contract or expiry of the same market, for example long MNQ while you sell NQ. | Close that position first. |
| Riskanto: order refused, Sim103 has an order working on the other side of NQ. The rest of its bracket may now work on one side only. | The last sentence is added after any of the messages above when the refused order was part of a bracket (a stop and a target with the entry). | Check the account's orders: the bracket's other orders may still be working. |
For a market that is not a future, such as a stock, the instrument is its own symbol: Riskanto: order refused, Sim103 holds the other side of AAPL; close it first.
Switching the guard off
If you do not want opposite positions refused on that set of accounts:
- In NinjaTrader's Control Center, open New > Riskanto.
- Right-click the account and choose Rules for <account>...
- In the Opposite positions tab, under Refuse opposite positions, choose Off and click Save. It applies to every account of the set.
If an account of the set is Committed or Strict and is On or locked, switching off waits for the next trading day's open. See A pending rule change in Riskanto.
Related
- How the guard works, which accounts form a set and what counts as the same market: How Riskanto's guard against opposite positions works.
- A copied order refused for the same reason: How Riskanto works with Replikanto.
- The message Riskanto: order refused, the account is locked (...) is a different refusal: see When a Riskanto daily lock ends and how to unlock.
Comments
0 comments
Article is closed for comments.