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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    102 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X