I'm using TD Ameritrade.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Commissions
Collapse
X
-
Commissions
I have a strategy that I would like to use for both stocks and futures. These have different commissions. Ideally, I'd like to get the program to get the commission fee, and make sure that the position made a profit before exiting. Can this be done, or I just have to hard code the commission fee?
I'm using TD Ameritrade.Tags: None
-
Hello CriticalMind,
Thanks for your post.
While this is undocumented you can obtain commissions via:
Instrument.MasterInstrument.GetCommission(1, Account.Connection.Options.Provider)
Please see this thread: http://ninjatrader.com/support/forum...ht=commissions
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, Yesterday, 11:51 AM
|
0 responses
16 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:51 AM
|
||
|
Started by CarlTrading, Yesterday, 11:48 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:48 AM
|
||
|
Started by CaptainJack, 03-25-2026, 09:53 PM
|
0 responses
16 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:53 PM
|
||
|
Started by CaptainJack, 03-25-2026, 09:51 PM
|
0 responses
13 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:51 PM
|
||
|
Started by Mindset, 03-23-2026, 11:13 AM
|
0 responses
20 views
0 likes
|
Last Post
by Mindset
03-23-2026, 11:13 AM
|

Comment