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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        67 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        36 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        61 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        62 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        53 views
        0 likes
        Last Post CarlTrading  
        Working...
        X