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 terofs, Yesterday, 04:18 PM
    1 response
    21 views
    0 likes
    Last Post terofs
    by terofs
     
    Started by CommonWhale, Today, 09:55 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by Gerik, Today, 09:40 AM
    2 responses
    7 views
    0 likes
    Last Post Gerik
    by Gerik
     
    Started by RookieTrader, Today, 09:37 AM
    2 responses
    13 views
    0 likes
    Last Post RookieTrader  
    Started by alifarahani, Today, 09:40 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X