This article explains how Riskanto, FlowBots' risk-management add-on for NinjaTrader 8, handles commissions that are not posted yet on a Rithmic connection when it computes the trailing drawdown, what you see on screen, and how to use the firm's floor that Riskanto reads from the broker.
Short answer
On Rithmic, NinjaTrader's cash value does not include the day's commissions until Rithmic posts them at its end of day. Since Riskanto 1.0.0.2, the account value Riskanto uses for the trailing drawdown leaves out the commissions Rithmic has not yet taken from the cash, so the room left follows your firm's balance much more closely. Nothing needs to be switched on.
Why the commissions are taken off
Riskanto judges the trailing drawdown on the account value: NinjaTrader's cash plus the open PnL. On a Rithmic connection, each fill's commission is not taken from the cash right away; the cash catches up at Rithmic's end of day. Without a correction, the account value would read a little higher than your firm's balance during the day. Riskanto reads the commissions the cash does not hold yet while the account is flat, and takes them off the cash.
- Until Riskanto has read those commissions, it uses the cash as NinjaTrader shows it, so the value can read slightly high, never low.
- On connections where the cash already holds the commissions, there is nothing to take off and nothing changes.
- The figures come from what NinjaTrader and the broker report and can still differ from the values your firm uses.
What you see on screen
The commissions are shown only when Riskanto knows them and they are at least 0.01:
| Where | Text |
|---|---|
| The Drawdown cell's tooltip in the grid | Account value ... (cash ..., less ... of commissions the cash does not hold yet, open ...) |
| The rules editor's Account value now line | (cash ... − commissions not yet in it ... + open ...) |
| The lock message of a trailing drawdown trip | Cash ..., less ... of commissions the cash does not hold yet, open .... |
| The Activity panel entry of the trip | Peak ..., floor ...; cash ..., less ... of commissions not yet in it, open .... |
When there are no such commissions, the same places show only the cash and the open PnL, for example Account value ... (cash ..., open ...).
The firm's floor from the broker: Use it
On a Rithmic connection, the rules editor can also read your firm's current trailing floor from the broker's connection in NinjaTrader and offer it when you set up the trailing drawdown. It is only a suggestion: Riskanto never applies it by itself.
- Make sure the account is Off. Rules cannot be changed while an account is On or locked.
- Right-click the account and choose Rules for <account>..., then open the Drawdown tab and choose a mode.
- Under Floor the firm shows today, the line The broker shows the firm's floor today: .... appears when the figure is known. Hover it to see the trailing amount, the starting floor, the highest floor, the rule and when the broker set it.
- Compare it with your firm's dashboard. If it matches, click Use it, then Save.
The tooltip itself reminds you: Check it against your firm's dashboard before you save. For setting up the trailing drawdown in full, see the trailing drawdown article.
What does not change on Rithmic
- Riskanto has no link to Rithmic's own risk settings: nothing is read from or written to them.
- Riskanto's rules, locks and flatten work on Rithmic accounts as on any other account.
Comments
0 comments
Article is closed for comments.