Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Mirroring Broker Account Positions

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

    Mirroring Broker Account Positions

    I am using a custom indicator to send orders to a few unsupported platforms/brokers APIs (Centerpoint/Etrade). My real fills are obviously different than the Ninjatrader simulator fills. Is there a way to mirror the trades? In other words, tell Ninjatrader this is my position quantity and average, possibly via Order Instruction Files (OIF)?
    Last edited by strongheart; 11-01-2021, 10:42 AM.

    #2
    Hello strongheart,

    Thank you for your post.

    Since this is more related to NinjaScript development, I've moved this to our General Development forum.

    Just to clarify what you're looking to do, am I understanding correctly that your indicator is sending trades to unsupported platforms and then you're wanting those trades to be exactly mirrored in the platform on a Sim account? Is that correct?

    Thanks in advance; I look forward to assisting you further.

    Comment


      #3
      Thank you. Yes, this is correct.

      Comment


        #4
        Hello strongheart,

        Thank you for your reply.

        You would adjust the sim account position by placing orders. If you are using a NinjaScript indicator to communicate with an external application instead of the API, you would be using unsupported code to do. OIF files could be used to submit orders to NinjaTrader from an external application. However, the orders would fill in real-time with the simulation engine.

        There would not be a way to modify fills on the simulation account in NinjaTrader - OIF files just put in orders, you can't change how NinjaTrader fills them. Orders placed fill in real-time with the simulation engine and cannot be modified with NinjaScript (but can be removed/added on the executions display of the Trade Performance window). If the orders are sent around the same time they'd be similar trades. However, you're probably not getting exactly the same fills as another platform.

        Please let us know if we may be of further assistance to you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        558 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X