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 NullPointStrategies, Today, 05:17 AM
        0 responses
        39 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        64 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        41 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X