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 geddyisodin, 04-25-2024, 05:20 AM
|
8 responses
60 views
0 likes
|
Last Post Yesterday, 10:45 AM | ||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
4 responses
3,287 views
1 like
|
Last Post
by jgualdronc
Today, 10:02 AM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 09:55 AM | ||
Started by halgo_boulder, 04-20-2024, 08:44 AM
|
2 responses
22 views
0 likes
|
Last Post Today, 09:41 AM | ||
Started by mishhh, 05-25-2010, 08:54 AM
|
19 responses
6,189 views
0 likes
|
Last Post
by rene69851
Today, 09:29 AM
|
Comment