Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Buy - BuyToCover

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

    Buy - BuyToCover

    Hello,

    my stops from the scripts are plotted in charttrader with "BuyToCover" (for shorts) and when doing a short with ChartTrader then there is the stop plottted with "Buy".

    I thought that both are market orders.

    (script: stopOrder1 = ExitShortStop(0, true, 1, execution.Order.AvgFillPrice -10 * TickSize, "Stop", "Short")

    Are both market orders?

    Thank you.

    Tony

    #2
    Hello Tony,

    The names of the orders are just going to be how they are entered and they are not going to be related if they are a market order or not, it will depend on the context of the order.

    So in your script for "ExitShortStop" will send a market order yes, but it will be named "BuyToCover" because you are in short position and you are "Buy"ing contracts to "Cover" your position towards a "Flat" state.

    The "Buy" name on Chart trader just means that you placed a "Buy" order, it can be a "Market", "Limit", "Stop Limit", or "Stop Market" order. You would have to look in your Orders tab or your Account Performance tab to see what type of order it was.

    Happy to be of further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ageeholdings, Today, 07:43 AM
    0 responses
    7 views
    0 likes
    Last Post ageeholdings  
    Started by pibrew, Today, 06:37 AM
    0 responses
    4 views
    0 likes
    Last Post pibrew
    by pibrew
     
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    14 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    12 views
    0 likes
    Last Post burtoninlondon  
    Working...
    X