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 Shansen, 08-30-2019, 10:18 PM
    24 responses
    938 views
    0 likes
    Last Post spwizard  
    Started by Max238, Today, 01:28 AM
    0 responses
    3 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by rocketman7, Today, 01:00 AM
    0 responses
    1 view
    0 likes
    Last Post rocketman7  
    Started by wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    27 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Working...
    X