Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is there any way to reset: Position.Quantity ?

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

    Is there any way to reset: Position.Quantity ?

    Hi NT.

    I'm trying to work around the typical issue of unsynced accounts after a connection loss. I'm pretty aware that there are many post about this and without any automatic way to do it.

    I wonder if by any chance is there any way to reset or force to reset the variable: Position.Quantity to zero after I go flat in my broker's account.

    What could happen if I try to force resetting to zero?

    Thanks in advance

    #2
    Hello pstrusi,

    Thank you for your post.

    There would not be a means to force the position collection to 0.

    Comment


      #3
      Thanks for your attention and answer Patrick.

      I wonder if this special procedure could be created by developers as a first step to develop an automatic solution to unsynced account problem after connection loss. I don't know if there's any internal restriction to do it, but if not, I'd like to ask to developers:
      Make a special procedure under certain conditions ( not easily accessible to avoid undesired situations ) that actually does allow us to perform a reset of Quantity.Position.

      Thanks in advance

      Comment


        #4
        Hello pstrusi,

        I will forward your suggestion to development.

        Comment


          #5
          We are tracking your request under id SFT-1025.

          Comment


            #6
            Thanks Patrick, good to know it, hopefully it could help us to design a better sync procedures.

            Regards

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            68 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            38 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            63 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            62 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            53 views
            0 likes
            Last Post CarlTrading  
            Working...
            X