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 DannyP96, 05-18-2026, 02:38 PM
|
1 response
27 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
226 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
414 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Comment