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!
See more
See less

Partner 728x90

Collapse

Very basic question about access Account name

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

    Very basic question about access Account name

    Hi there,

    I got a very basic question about writing strategie but i can not find solution on my own. I'm programming on NT since 2 days only.

    I run my Strategie from the strategie tab and i need to access the configured properties Account name inside my script. Intellisense show nothing like this.

    A link to the NT C# html Api or a piece of advice will be helpfull.

    Thank you in advance.

    #2
    What are you trying to do with the account name? You cannot dynamically change this in your code.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I will expose my goal maybe you can orient me in a more convenient use of NT.

      We are dealing with several brokers, several accounts and about 80 instruments.
      Our trading sys generate signals that contains the account and the instrument.

      I'm testing NT to became our main tool and avoid using several platform like TT, JTrader, etc

      I was expecting to program one strategie per instrument to read the corresponding signals and process them when requiried but maybe i'm doing it the wrong way.

      What's the best approach to deal with the situation ? we do really think that NT can feet our needs.

      Thank you for sharing your experience

      Comment


        #4
        To clarify, a single instance of a strategy in NinjaTrader can only be tied to one account at a time. This means any orders generated by the strategy can only be sent to the account specified at the time of starting the strategy.

        You can run multi-instrument strategies, but again you can only submit to one account for the instruments in the strategy.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AntonioParraSegura, Today, 08:41 AM
        0 responses
        2 views
        0 likes
        Last Post AntonioParraSegura  
        Started by giulyko00, 04-24-2024, 12:03 PM
        8 responses
        39 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by cre8able, Yesterday, 04:31 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by pickles1774, 04-29-2024, 02:13 PM
        1 response
        20 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by leojimenezp, Yesterday, 04:04 PM
        1 response
        29 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X