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 AttiM, 02-14-2024, 05:20 PM
    12 responses
    213 views
    0 likes
    Last Post DrakeiJosh  
    Started by cre8able, 02-11-2023, 05:43 PM
    3 responses
    237 views
    0 likes
    Last Post rhubear
    by rhubear
     
    Started by frslvr, 04-11-2024, 07:26 AM
    8 responses
    117 views
    1 like
    Last Post NinjaTrader_BrandonH  
    Started by stafe, 04-15-2024, 08:34 PM
    10 responses
    47 views
    0 likes
    Last Post stafe
    by stafe
     
    Started by rocketman7, Today, 09:41 AM
    3 responses
    12 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X