Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Commissions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DanielTynera, Today, 01:14 AM
    0 responses
    2 views
    0 likes
    Last Post DanielTynera  
    Started by yertle, 04-18-2024, 08:38 AM
    9 responses
    40 views
    0 likes
    Last Post yertle
    by yertle
     
    Started by techgetgame, Yesterday, 11:42 PM
    0 responses
    12 views
    0 likes
    Last Post techgetgame  
    Started by sephichapdson, Yesterday, 11:36 PM
    0 responses
    2 views
    0 likes
    Last Post sephichapdson  
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,615 views
    0 likes
    Last Post aligator  
    Working...
    X