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

Buggy Behavior of ATM Autochase in Playback Connection

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

    Buggy Behavior of ATM Autochase in Playback Connection

    Couple of questions regarding interoperability of the Playback Connection based on some behavior I've noticed...

    1) Are there particular methods that are not compatible/reliable when utilizing the Playback Connection given the immediate/synchronous nature of order processing?
    2) What might account for erroneous fill prints (i.e. buy executions several ticks below lowest last traded price in a condition-driven order event where it is known with certainty that the modeled execution price was never achieved)?
    3) When executing an order with AutoChase that gets a partial fill, the resultant behavior of the chase perpetually moves the price 1 tick away from the last traded price and never fills... what might be causing this? The chase limit is set to 1 in the prior example. When I change the chase limit to 5 (for example) it produces the same behavior, except the order now floats 5 ticks from the last traded price... Attaching video of the chase limit == 1 example.

    Thank you.


    #2
    Hi TheFil , thanks for posting.

    1. Orders will work the same no matter if playback speed is on 1x or maxed out.
    2. Are you using a script to submit ATM strategy orders? We have an example here that shows how to monitor the orders. Using this you can print the fill price and GetCurrentAsk()/GetCurrentBid() to compare the fill price of an order to the last reported bid/ask price.

    3. The video has the speed maxed and I can not tell what is going on in this video. Can you explain this further and possibly provide an example and steps to reproduce what you are reporting here?

    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Thanks NinjaTrader_ChrisL

      #2) Yes, I am calling AtmStrategyCreate() from a script. Good idea on adding a print output for GetCurrentAsk()/Bid() and seeing if that makes sense of things. Will implement shortly.
      #3) So the video is actually with the Playback Connection speed set to 1x... It's the AutoChase that is modifying the order (albeit incorrectly) in sequence with the frequency of OnBarUpdate() which is the method from wich I call AtmStrategyCreate()...

      Let me know if that's enough to whittle things down. I'll pull together some additional screenshots/testing on my end in the meantime.

      Thanks for the help.

      Comment


        #4
        Hi TheFil, thanks for the follow up. Please post a reduced test script that I can run on my PC and also upload a screenshot of the ATM you are using so I can test it out on my end for question #3.

        Best regards,
        -ChrisL
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by futtrader, 04-21-2024, 01:50 AM
        6 responses
        57 views
        0 likes
        Last Post futtrader  
        Started by sgordet, Today, 11:48 AM
        0 responses
        1 view
        0 likes
        Last Post sgordet
        by sgordet
         
        Started by Trader146, Today, 11:41 AM
        0 responses
        3 views
        0 likes
        Last Post Trader146  
        Started by jpapa, 04-23-2024, 07:22 AM
        2 responses
        17 views
        0 likes
        Last Post rene69851  
        Started by funk10101, Today, 11:35 AM
        0 responses
        1 view
        0 likes
        Last Post funk10101  
        Working...
        X