Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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:	176
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
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Click image for larger version

Name:	111111111.png
Views:	160
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:



        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Segwin, 05-07-2018, 02:15 PM
        14 responses
        1,789 views
        0 likes
        Last Post aligator  
        Started by Jimmyk, 01-26-2018, 05:19 AM
        6 responses
        837 views
        0 likes
        Last Post emuns
        by emuns
         
        Started by jxs_xrj, 01-12-2020, 09:49 AM
        6 responses
        3,293 views
        1 like
        Last Post jgualdronc  
        Started by Touch-Ups, Today, 10:36 AM
        0 responses
        13 views
        0 likes
        Last Post Touch-Ups  
        Started by geddyisodin, 04-25-2024, 05:20 AM
        11 responses
        63 views
        0 likes
        Last Post halgo_boulder  
        Working...
        X