Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Get commissions via NinjaScript
Collapse
X
-
Get commissions via NinjaScript
Is there any way to get commission value for any particular instrument within an account?Tags: None
-
This was available in NT7 and might have a similar equivalent: https://forum.ninjatrader.com/forum/...48-commissions
-
Hello Leeroy_Jenkins,
Thank you for your post.
There are no documented/supported ways to get commissions for an instrument. That said, there has been discussion in other posts and the following snippet might be useful:
Hi, It has been probably asked before, but just to be sure I ask again. Is it possible to access an Instrument's Commission value? Screenshot attached.
If you'd like, I could add your vote to SFT-1645 requesting NinjaScript access to risk and commissions templates.
Please let me know if I may be of further assistance.Emily C.NinjaTrader Customer Service
Comment
-
-
Originally posted by QuantKey_Bruce View PostNinjaTrader_Emily Would this method only be possible for multi-provider mode enabled?
Thank you for your note.
A commission template may not be applied with multi-provider mode disabled, so what we have observed is you may enable multi-provider mode to apply a commissions template, and even if you disable multi-provider the commission template is still associated with the account. I believe this method should work as long as the account has a commissions template applied to it, though as I said this is undocumented and unsupported so I am unable to guarantee the behavior.
Applying commission templates for multi-provider enabled vs. disabled has been discussed in the following thread that you also commented on:
Hello, My strategies rely on a commission template to be set for the account being traded. However, with the introduction of Multi-provider mode, when Multi-provider is disabled I can no longer right-click on an account from the Accounts tab, click 'Edit Account...', and specify the commission template. There is no 'Edit
Please let us know if we may be of further assistance.Emily C.NinjaTrader Customer Service
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by llanqui, Today, 03:53 AM
|
0 responses
5 views
0 likes
|
Last Post
by llanqui
Today, 03:53 AM
|
||
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
10 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
15 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
14 views
0 likes
|
Last Post Yesterday, 07:51 PM |
Comment