Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Difference between orderaction.sell and orderaction.sellshort

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

    Difference between orderaction.sell and orderaction.sellshort

    i am trying to understand the the difference between each of the orderAction parameters.

    please correct me if i am wrong.

    OrderAction.Buy

    Straightforward, used to go long when flat.

    OrderAction.BuyToCover

    Straightforward, used to cover a previous short trade.

    OrderAction.Sell

    Straightforward, used to initiate a Short trade when flat.

    OrderAction.SellShort

    now, this is the one that's confusing me. is this used to close a previous long position or is it used to initiate a new short trade ?

    What is the special reason for the existence of this SellShort,when the same functionality of closing a long trade and opening a short trade can be achieved using orderaction.sell alone? please clarify.

    #2
    Hello karthik007,


    OrderAction.Sell is an exit trade that exits a Long position.

    OrderAction.SellShort is an entry order that enters a Short position.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    102 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X