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 NullPointStrategies, Today, 05:17 AM
    0 responses
    20 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    119 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X