Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Kill doesnt work for buying power?

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

    Kill doesnt work for buying power?

    Even with kill on. My strategy doesnt end. It sends 350 orders before I realize it. thanks
    Click image for larger version

Name:	Untitled.png
Views:	237
Size:	344.9 KB
ID:	1175531

    #2
    Hi ezrollin, thanks for posting.

    What commands are you doing in the strategy to get this behavior? What is Kill On? I will need more details and context about the strategy.

    Best regards,
    -ChrisL

    Comment


      #3
      Click image for larger version

Name:	111111111.png
Views:	225
Size:	74.4 KB
ID:	1175590

      Comment


        #4
        Hi ezrollin, thanks for posting that.

        The strategy is running OnEachTick which would explain why it sends so many orders. The condition is being hit on every tick and there is nothing to stop the condition from triggering on every tick. For the strategy to be stopped with this real time order error handling, it needs to hit an Error code, listed here:



        Comment

        Latest Posts

        Collapse

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