• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 rwilliam, Today, 01:54 PM
    0 responses
    1 view
    0 likes
    Last Post rwilliam  
    Started by franco12364, Today, 11:27 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by YevhenShynkarenko, Today, 11:48 AM
    3 responses
    18 views
    0 likes
    Last Post YevhenShynkarenko  
    Started by NinjaTrader_ChrisL, Today, 11:21 AM
    0 responses
    21 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by lunardiplomacy, Today, 08:09 AM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X