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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    335 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    211 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    196 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    288 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    245 views
    0 likes
    Last Post CarlTrading  
    Working...
    X