This article explains the two Tradovate settings of Riskanto, FlowBots' risk-management add-on for NinjaTrader 8: Write to the broker (Tradovate) and Receive from the broker (Tradovate). It covers what Riskanto writes to Tradovate's Risk Settings, when a write is held back, what Receive takes from the website, when a limit is left to the broker alone, and what stays on the website if Riskanto is removed.
Short answer
On a Tradovate account, Riskanto keeps the Tradovate website's risk settings in step with its own rules. With Write on, the limits you set in Riskanto are written to the website, so Tradovate's server enforces them too, even when NinjaTrader is closed. With Receive on, a limit set on the website becomes Riskanto's own. When the website shows exactly Riskanto's value, that limit is left to the broker alone, at the full value, with no safety margin. Both settings are on when Riskanto is installed. These features need NinjaTrader 8.1.8 or later; on 8.1.6 and 8.1.7 they are off and Riskanto's own rules run as always.
Where the two settings are
- Open the Riskanto window from NinjaTrader's Control Center, New > FlowBots > Riskanto, and open its Settings.
- In Settings > Rules, find Write to the broker (Tradovate) and Receive from the broker (Tradovate). Both are on unless you turned them off.
They apply only to Tradovate accounts. On Sim, Playback, Rithmic and every other connection, nothing is read from or written to the broker's risk settings.
For the daily and weekly limits and Max open positions, Riskanto only updates a limit that already exists on the website; it never creates or deletes one. If the website has never had the limit, set it once on the website first: Riskanto then says set a daily limit once on the website or set Max open positions once on the website.
What Write to the broker writes
| Riskanto rule | Tradovate Risk Settings field | How it is written |
|---|---|---|
| Max contracts | Max open positions | The number as you typed it. Tradovate counts each contract as one, of any kind. |
| Loss limit (daily) | Daily Loss Limit | In full, with no safety margin taken off. |
| Profit target (daily) | Daily Profit Trigger | As typed. |
| Weekly loss limit | Weekly Loss Limit | In the same way as the daily limits. |
| Weekly profit target | Weekly Profit Trigger | In the same way as the daily limits. |
| Trailing drawdown | Trailing Max Drawdown | Only to switch it on, as Real-time with the floor stopping at the starting balance, and only where the website has none. Riskanto never changes or switches off a trailing drawdown the website already has. |
A write happens when you save a changed value, when you switch an account On with a value the website does not show, and when you turn Write on again. Until the website shows the new value, Riskanto acts on its own value: Being written to the broker: .... Until the website shows it, Riskanto acts on its own value. Switching an account Off writes nothing.
When a write is held back
When a value is not written, the rules editor and the Activity panel say why, and Riskanto keeps acting on its own value: Not written to the broker: .... Riskanto acts on its own value.
| Case | What you see | What to do |
|---|---|---|
| Someone else set the value on the website | Set on the website by someone else: .... Riskanto writes nothing looser; change it on the website. | Riskanto never writes a looser value over it. Change it on the website if you want it looser. |
| The broker reached this limit today and your change would loosen it | the broker reached this daily limit today; loosening it is written at the next trading day's open | Nothing. A stricter or equal value is written at once. |
| The broker's settings are locked | the broker's settings are locked until the session ends | Nothing in Riskanto. Riskanto acts on its own value meanwhile. |
| The day is already past the value you typed | A confirmation box: the broker would close the account's positions and lock it at the broker once the value is written. Otherwise: the day is already past it; edit it again or switch the account On to confirm | Confirm only if you accept the broker's lock; otherwise type another value. |
| The website has no such limit yet | set a daily limit once on the website | Set the limit once on the Tradovate website. |
| Write is off | For the cap: Not written to the broker: Write to the broker is off in Settings. Riskanto's own cap acts. | Turn Write on if you want the website kept in step. |
What Receive from the broker does
- A daily limit on the website that is stricter than Riskanto's, or one Riskanto does not have, becomes Riskanto's own at once, even while the account is On or locked.
- A looser one waits: the value shows broker ..., waiting, and Riskanto keeps acting on its own value until the account is Off and unlocked.
- A lower Max open positions becomes the Max contracts cap, and on an account that is On and unlocked it closes the excess at market. A higher one waits until the account is Off and unlocked. It is taken only into a cap counted in minis, or a cap of 0.
- The weekly limits follow the same rules.
- If a limit is switched off on the website, Riskanto keeps its own value and acts on it.
- With Receive off, Riskanto takes nothing from the website; the broker's values are only shown: Not taken: Receive from the broker is off in Settings. The broker still acts on it.
- If the website cannot be read, Riskanto says The broker's limits could not be read; Riskanto's own rules apply.
Who acts on the limit: the broker or Riskanto
A small B mark beside a value shows the website's state. Green means the broker holds Riskanto's value; amber means the website shows another value, a looser value is waiting, the website could not be read, or Riskanto's value is on its way or not written; grey means nothing is set on the website for that field.
- Held by the broker (green): Receive is on and the website shows an active limit equal to Riskanto's value. Then only the broker acts, at the full limit, with no safety margin, and Riskanto sends no order for it: When it is reached, the broker's rule closes the positions and blocks new orders; Riskanto does not act on it. When the day reaches it, the account's Status shows At the broker's limit.
- Every other case: Riskanto acts itself, at the limit minus the Safety margin on the loss limit, and the broker's own limit stays at the broker as a backstop: Riskanto acts on its own value with its safety margin; the broker acts on its own value too.
The safety margin is 0 as installed, so both act at the limit itself; the difference only matters when you set a margin. The margin never applies to the profit targets. Riskanto's own Max contracts cap always keeps acting, beside the broker's Max open positions.
Unlocking and the broker's lock
A daily limit at the broker closes the account and locks it there until the session ends. Unlocking in Riskanto releases only Riskanto's own lock, never the broker's.
What stays on the website if Riskanto is removed
- The website keeps the last values Riskanto wrote when Riskanto stops, is removed, or when you turn Write off, and the broker keeps acting on them.
- Riskanto never deletes a limit and never switches a trailing drawdown off on the website.
- Check and change these values on the Tradovate website.
For how Riskanto compares with the broker's own settings, see Riskanto vs. your broker's free risk settings and Replikanto. For the daily loss limit itself, see How the daily loss limit works.
Comments
0 comments
Article is closed for comments.