Announcement

Collapse
No announcement yet.

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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        157 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        91 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        143 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        130 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X