This article explains the setting Check a trip caused by open PnL of Riskanto, FlowBots' risk manager for NinjaTrader 8, and the two price warnings an account's Status can show, No price and Late price: what the setting does in plain words, when it waits and when it never does, when the warnings show, and what to check.
Short answer
When only the open PnL takes the day past a rule, Riskanto acts at once if the market's bid/ask confirms it; otherwise it waits for a second reading 250 ms later, and ignores a single odd reading that does not repeat. It never delays a realized loss. No price and Late price are warnings about the market data of an instrument an account holds: they act on nothing.
Where the setting is
Right-click the account grid, choose Settings..., and find Check a trip caused by open PnL in the group Rules. It is on as installed. Its hint reads:
When open PnL, not realized PnL, takes the day past a rule, Riskanto acts at once if the bid/ask confirms it. Otherwise it waits for a second reading 250 ms later and ignores a single reading that does not repeat. The loss limit never waits once half the safety margin is used, never for a realized loss, and never with a safety margin of 0.
With the setting off, every breach acts at once. While an account at the Committed or Strict level is On or locked, a change of this setting waits for the next trading day.
What it does, in plain words
- It never waits when the realized PnL alone is past the rule, or when the bid/ask confirms the breach.
- For the daily loss limit, it also never waits with a safety margin of 0 (as installed), with a margin as large as the limit, or once the day has used half of the margin.
- The daily profit target, the profit give-back floor, the max loss per trade and the weekly profit target have no such shortcut: a breach by the open PnL alone that the bid/ask does not confirm waits for the second reading.
- A wait never lasts longer than 10 seconds.
Example: limit 400, safety margin 40, so Riskanto acts at -360. A first reading at -385, past half the margin, acts at once. A reading at -365 that the bid/ask does not confirm waits; if the reading 250 ms later is still past -360, the account is locked. If it is back at -290, nothing is done and the Activity panel shows Single reading ignored: ...: day PnL ... on one reading, back to ... ... ms later; the bid/ask did not confirm it. Nothing done.
While a trip is being checked, orders that would add to, open or reverse a position are refused with Riskanto: order refused while a rule's trip is being checked. Closing orders still work.
When "No price" shows
The Status shows No price for an account that is On or locked and connected when an instrument it holds has had no price update for 60 seconds while its market is open, or has had no market data at all 10 seconds after the position appeared. Its tooltip says No price for ... since ..., with its market open. The rules use the last value NinjaTrader showed.
- The Activity panel shows No price: No price for ... since ..., with its market open: a move since then is not seen., or No market data for ... ... s after the position opened: its open PnL is not followed.
- NinjaTrader's Alerts log gets one line per episode: Riskanto: no price for ... since ..., with its market open (...).
When "Late price" shows
The Status shows Late price when prices arrive but are stamped 10 seconds or more behind the clock for 5 seconds in a row. Its tooltip says Prices for ... arrive ... s late: the rules see the market that much later. It ends when the delay falls under 3 seconds, and the Activity panel then shows Price back: Prices for ... are back after .... Late price writes no Alerts line.
They are warnings
- Neither warning locks the account, closes a position or refuses an order. The rules keep reading the last value NinjaTrader showed.
- They are not raised outside the instrument's trading session or on a Playback connection, and one episode is shared by all the accounts that hold the instrument.
- A lock and some other statuses take their place in the Status cell, but they take the place of Near limit.
What to check
Check the market data of the instrument the warning names in NinjaTrader. While it gets no price, or gets it late, a move of the market reaches Riskanto's rules late or not at all.
See also How the daily loss limit works.
Comments
0 comments
Article is closed for comments.