Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Boxed Positions

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

    Boxed Positions

    Hi, in realtime equity trading, Tradestation doesn't allow short entries to offset a long position and vice versa, they call this a boxed position. Their order generation code will reject the order.

    The way I am setting up NT is that I will have 2 strategies, LongOnly and ShortOnly now if I execute both of these strategies into 1 account, is there going to be any over-riding Net Position issues of what part of the strategy is generating the order LongEntry,ShortEntry,LongExit or ShortExit?

    I assume the EnterLongStop & EnterShortStop both simply resolve to a COMMAND function which can only "BUY" or "SELL", so I assume given two seperate strategies, your code is not going to care what method generates these Buys & Sells and will place the orders in realtime without rejection, is this correct? or am I mistaken.

    Thanks. W2

    #2
    Hello W2,

    This is the same question you asked by email on December 13th. Let me know if you would like a copy of our discussion and I will forward it to you. NinjaTrader ticket 406032
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Hi Ryan, you are correct. Sorry about that. if anyone else has the same question, the answer is that NT doesn't have any over-riding rules that will prevent a ShortEntry netting off a Long Position.

      W2

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      50 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      22 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      16 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      22 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      23 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X