Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BuyToCover Mystery

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

    BuyToCover Mystery

    I'm running a live NinjaScript strategy (6.5) that moves between a Long ETF and a Short ETF, so all my commands are either EnterLong or ExitLong. The strategy trades every couple of days on average, so I leave the strategy running all week and tweak parameters on the weekend. Most of the time, NT executes the trades as expected.

    However, after correctly executing several trades, NT will suddenly translate an EnterLong command as a BuyToCover order, which my broker correctly rejects. When rejected, the strategy shuts down, so I place the Buy order manually, but the Order tab in NT even shows the External orders as BuyToCover. Is there any known reason that NT insists that I'm in a BuyToCover condition? Is there any way I can force NT to always translate EnterLong commands as Buy orders?

    #2
    jerimac2,

    There is no way to force it. What you will want to do is track down why it submitted it that way. Please check your strategy position prior to order submission.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    59 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X