Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATI "Strategies" Function Always Returns Empty String

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

    ATI "Strategies" Function Always Returns Empty String

    I'm trying to get a list of the ATM Strategies using the "Strategies" ATI method. I'm getting an empty string in all cases. I've tried "SIM101" and a connected, live Interactive Brokers account.

    1) Here's the code. Fairly straightforward. Other functions work fine and Connected returns 0:

    client = new Client();
    string strategyList = client.Strategies("SIM101");

    2) ATM Strategies are not account specific so why is an account required for this function?

    Thanks!

    #2
    LeeMellinger,

    I am a little confused here. Are you using the ATI interface with ATM strategies, or is this specifically a ATM strategies question?

    ATM stands for "Advanced trade managment" and its used to manage your order's stop losses and take profits.

    ATI is the "Automated trading interface" and is used to get signals from other platforms auto-trading capabilities.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      I'm using the ATI to submit orders to NT. The ATI allows ATM strategies to be attached to ATI orders. However, I think I've answered my question. The Strategies function probably only returns active ATM strategies associated with orders submitted via the ATI.

      Comment


        #4
        Hi Lee, same outcome with quering "Sim101" ? I think with the call you have setup it would simply not find the account in NT...
        BertrandNinjaTrader Customer Service

        Comment


          #5
          I just pulled it directly out of the database: SELECT DISTINCT Name FROM NT_Strategy WHERE Category=2

          Work well. Thanks.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by WHICKED, Today, 12:56 PM
          2 responses
          14 views
          0 likes
          Last Post WHICKED
          by WHICKED
           
          Started by Felix Reichert, Today, 02:12 PM
          0 responses
          1 view
          0 likes
          Last Post Felix Reichert  
          Started by Tim-c, Today, 02:10 PM
          0 responses
          1 view
          0 likes
          Last Post Tim-c
          by Tim-c
           
          Started by cre8able, Today, 01:16 PM
          2 responses
          9 views
          0 likes
          Last Post cre8able  
          Started by chbruno, 04-24-2024, 04:10 PM
          3 responses
          49 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Working...
          X