Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Incorrect position is displayed in live mode (Rithmic)

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

    Incorrect position is displayed in live mode (Rithmic)

    Hello, I have raised the topic before, but can no longer find the post ;-) the problem is that when used with Live Rithmic Datafeed, an incorrect position is displayed and therefore the account synchronization is not correct! The problem should be fixed immediately and as soon as possible, or do I see it wrong? These incorrectly displayed statements are not only disturbing and misleading, but I can also use "Position.MarketPosition" not properly in my strategy.

    Click image for larger version

Name:	Screenshot_3.jpg
Views:	421
Size:	99.7 KB
ID:	1155817
    sidlercom80
    NinjaTrader Ecosystem Vendor - Sidi Trading

    #2
    Hello sidlercom80,

    Thank you for your post.

    Rithmic connections through NinjaTrader do not have a guaranteed order for OnOrderUpdate/OnExecutionUpdate/OnPositionUpdate events, and the Control Center relies mostly on Position updates to update fields in the Control Center. As such, this is an expected limitation with Rithmic connections through NinjaTrader.

    A workaround could be to have the strategy display the strategy position on your chart so it is visible. This could be done using OnExecutionUpdate to use Draw.TextFixed to report the current strategy position. The strategy position is updated from executions and is updated as soon as OnExecutionUpdate is called.

    We do have an open feature request identified as SFT-3467, "Improve ordering of Position Update events with Rithmic connections", that we have added your vote to.

    Let us know if we may assist further.
    Last edited by NinjaTrader_BrandonH; 05-12-2021, 01:06 PM.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Hello _BrandonH, best thanks for your answer, that's exactly what I meant ;-) In my opinion, this should be rectified immediately and not vote for it first! Under certain circumstances, such a situation can be misinterpreted, and a false unintentional order could be set, which rightly would not need it. For me absolutely a safety risk!
      What could such a solution look like in the OnExecution() method? If there is an example, then I could temporarily solve it until it is done correctly.
      sidlercom80
      NinjaTrader Ecosystem Vendor - Sidi Trading

      Comment


        #4
        Hello sidlercom80,

        Thank you for your note.

        'marketPositon' could be used in OnExecutionUpdate to get the position of a strategy.

        See the attached modified version of SampleOnOrderUpdate which draws the position from OnExecutionUpdate in the top left corner of a chart.

        Also, see the help guide documentation below for more information.
        OnExecutionUpdate - https://ninjatrader.com/support/help...tionupdate.htm

        Let us know if we may assist further.
        Attached Files
        Last edited by NinjaTrader_BrandonH; 05-12-2021, 01:07 PM.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Pointtoni, Yesterday, 11:41 PM
        3 responses
        33 views
        0 likes
        Last Post jenacie.com  
        Started by DayTradingDEMON, Yesterday, 02:10 PM
        5 responses
        36 views
        0 likes
        Last Post DayTradingDEMON  
        Started by Nate G, 03-17-2025, 02:53 PM
        4 responses
        67 views
        1 like
        Last Post timko
        by timko
         
        Started by several, 03-18-2025, 03:53 AM
        11 responses
        179 views
        1 like
        Last Post timko
        by timko
         
        Started by Amelie4262, Today, 10:45 AM
        0 responses
        13 views
        0 likes
        Last Post Amelie4262  
        Working...
        X