Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

already LONG, want to sell from a strategy

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

    already LONG, want to sell from a strategy

    Hello,
    Here is a question.
    Note that I am already LONG 100 share.
    I want to open a strategy and use it to SELL 100 shares when some conditions occurs. Can I do it ??.
    Can I set Position.MarketPosition = MarketPosition.Long once at the beginning ??MF

    #2
    mflorea, welcome to our forums - you could enter the 100 shares via a market order historically (thus Position.MarketPosition would be long as you start the strategy up for trading).

    Comment


      #3
      Beranrd,
      You say that Ninja will conform with my broker that I am already LONG with them and I should not test this condition in the strategy
      Position.MarketPosition == MarketPosition.Longbefore sumiting the conditional sell order
      .
      This is good.
      Please confirm.
      MF

      Comment


        #4
        MF, no NinjaTrader will not check this off with your broker, you would need to ensure proper sync between your strategy vs. account positions -

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        66 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        149 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X