Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Synchronization with NinjaScript

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

    Order Synchronization with NinjaScript

    I know this may be a relatively simple question, but I am confused about how to get an automated strategy in sync.

    On occasion, I want to start (or re-start) a strategy and immediately get the live position in sync with the strategic position (in lieu of waiting for the next signal). I changed the setting to "True" in sync position, but when I enabled the strategy, it immediately put me in a position 5 times the order quantity set in the strategy. (as it was GBPJPY this mistake cost me several hundred dollars in 2 seconds).

    Of course when I enter a position manually, the strategy doesn't recognize it. I could not find anything in the NT7 help guide.

    Any suggestions on how to sync an automated strat without waiting for the next signal?
    Thanks.

    #2
    billr, could you please send me the logs / traces via Help > Mail to Support and indicator in which date / timerange the autoSync order occured with the too high qty you referred to?

    You could also of course manually buy the needed amount to sync your account position up as needed, just notice what position / size the strategy has open coming from historical data as you start it up, this would be shown in your strategies tab.

    Comment


      #3
      Bertrand,

      I will get you the log/trace files shortly. (they are on a different computer).

      In the meantime, it seemed that when I bought-in manually, the strat didn't recognize it on the next trade. (using NT7)

      Thanks.

      Comment


        #4
        Ok, thanks will look out for them to investigate. How do you judge that the strategy did not recognize the manually synched up account position by a manual trade?

        Comment


          #5
          the next trade (first automated trade) simply entered a trade that resulted in a flat position rather than reversing the position.

          I don't even remember how I entered that trade. What is the best method for entering manual trades with NT7 and MBTrading?

          Thanks.

          Comment


            #6
            billr, are you sure tried this with the on realtime starting strategy option set to 'Immediately submit'?

            I normally use a DOM to sync up when needed, but the Control Center would work as well.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            607 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            353 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            560 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            561 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X