This article explains the message Riskanto: order refused, the account is outside its trading hours. Closing orders still work. from Riskanto, FlowBots' risk-management add-on for NinjaTrader 8: why your order was rejected, how to see until when, and what you can still do.
Short answer
The account has trading hours set in its Riskanto rules (days, windows or a scheduled close), and right now it is outside them. Riskanto refuses new entries before they are sent. Closing, reducing and cancelling still work. The account is not locked: there is no padlock, and entries are allowed again when its hours open.
Why it shows
An account that is On follows its trading hours. It is outside them:
- on a day that is not ticked in Days;
- outside every window in Windows, when the account has windows;
- after its Close everything at time, until the next trading day opens.
An order that would open a position, add to one or reverse it is refused. Riskanto's Activity panel shows Order refused (outside hours). If a lock also holds the account at the same time, you see the lock's message instead: Riskanto: order refused, the account is locked (...).
How to see until when
In the Riskanto window, the account's Status shows Closed until (...), in your PC's time. Hover over it: the tooltip starts with Outside this account's trading hours: new entries are refused; positions can be reduced or closed. and the second line gives the reason:
- Not one of its trading days; it opens (...).
- Outside its trading windows (exchange time); it opens (...).
- Its scheduled close at (...) (exchange time) holds it closed; it opens (...).
If the Status shows only Closed, with no time, a saved rule of the account could not be read: the tooltip says which, and the account stays held until you set it again in the account's rules.
What still works
- Closing a position (Close, Flatten, or a closing order up to the size of the position) and reducing it.
- The stop and target of an open position.
- Cancelling any order.
When the hours close, working orders that would open or add to a position are cancelled; stops and targets are kept. Orders sent from the broker's website or app, or another platform, that would open, add to or reverse a position are cancelled too (Outside order cancelled (outside hours)).
Changing the hours
The trading hours are in the account's rules: right-click the account, Rules for <account>..., tab Hours. On a Flexible account, switch it Off first (rules cannot be changed while it is On), save, and switch it On again. For every setting, see Trading hours.
Comments
0 comments
Article is closed for comments.