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 GLFX005, Today, 03:23 AM
        0 responses
        1 view
        0 likes
        Last Post GLFX005
        by GLFX005
         
        Started by XXtrader, Yesterday, 11:30 PM
        2 responses
        11 views
        0 likes
        Last Post XXtrader  
        Started by Waxavi, Today, 02:10 AM
        0 responses
        6 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        12 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Working...
        X