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

Is there anyway to pull out account position instead of strategy positions?

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

    Is there anyway to pull out account position instead of strategy positions?

    In a strategy, is there anyway to pull out account position(s) instead of a strategy position(s) for further use of semi-automated trading, which means allowance for manual interference when execute an automated strategy or running a strategy in middle of trading activities.
    something like:

    if (open position conditions meet)
    {
    if (! exists this direction AccountPosition) //if a position is not opened manually
    EnterOrder;
    }

    if (exit conditions meet)
    {
    if (! this direction AccountPosition already exited) //if a position is not closed manually
    ExitPosition;
    }

    There might be the same thing with stop loss and/or profit target orders, there should be a switch for using either Strategy generated position or Account position(which could be contributed by both ATS and manual)
    Last edited by Majorshi; 07-24-2011, 12:08 PM.

    #2
    Hi Majorshi, unfortunately NinjaTrader does not currently support semi-automated trading. There are no supported methods for getting account position.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Then maybe an external IB api program or something like that might work to pull out account position.

      Comment


        #4
        Majorshi, you can use the Automated Trading interface to get the account position - http://www.ninjatrader.com/support/h.../functions.htm.

        There are also some unsupported methods that basically do the same thing.
        AustinNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by MarianApalaghiei, Today, 10:49 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by love2code2trade, Yesterday, 01:45 PM
        4 responses
        28 views
        0 likes
        Last Post love2code2trade  
        Started by funk10101, Today, 09:43 PM
        0 responses
        7 views
        0 likes
        Last Post funk10101  
        Started by pkefal, 04-11-2024, 07:39 AM
        11 responses
        37 views
        0 likes
        Last Post jeronymite  
        Started by bill2023, Yesterday, 08:51 AM
        8 responses
        45 views
        0 likes
        Last Post bill2023  
        Working...
        X