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 geddyisodin, Today, 05:20 AM
    0 responses
    3 views
    0 likes
    Last Post geddyisodin  
    Started by JonesJoker, 04-22-2024, 12:23 PM
    6 responses
    32 views
    0 likes
    Last Post JonesJoker  
    Started by GussJ, 03-04-2020, 03:11 PM
    12 responses
    3,239 views
    0 likes
    Last Post Leafcutter  
    Started by AveryFlynn, Today, 04:57 AM
    0 responses
    5 views
    0 likes
    Last Post AveryFlynn  
    Started by RubenCazorla, 08-30-2022, 06:36 AM
    3 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X