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).
    BertrandNinjaTrader Customer Service

    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 -

        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by f.saeidi, Today, 08:01 PM
        0 responses
        2 views
        0 likes
        Last Post f.saeidi  
        Started by Rapine Heihei, Today, 07:51 PM
        0 responses
        3 views
        0 likes
        Last Post Rapine Heihei  
        Started by frslvr, 04-11-2024, 07:26 AM
        5 responses
        96 views
        1 like
        Last Post caryc123  
        Started by algospoke, 04-17-2024, 06:40 PM
        6 responses
        49 views
        0 likes
        Last Post algospoke  
        Started by arvidvanstaey, Today, 02:19 PM
        4 responses
        11 views
        0 likes
        Last Post arvidvanstaey  
        Working...
        X