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 helpwanted, Today, 03:06 AM
    1 response
    12 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    9 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    5 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    242 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    387 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X