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

How to manuallly turn the sync to false

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

    How to manuallly turn the sync to false

    When i connect to my account and then start the strategy.

    I noticed that the "sync" will turn it to true.

    Can i know is that any way to manaully turn it false ??
    (Is it able to change it from code ?)

    #2
    Hi cincai, thanks for writing in.

    The sync property is the comparison between the strategy position and the account position. If you have a position on the account prior to starting the strategy with ImmediatelySubmit it will be false. That would be one way to deliberately get sync to equal false. There is no way to do it through code.

    Best regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hi, .NinjaTrader_ChrisL.

      But if I not mistaken, we can turn the option "Sync" to be false or true in ninjatrader 7.

      Is that it hiding somewhere ??

      Comment


        #4
        Hi cincai ,

        There is nothing documented on this property, so setting it would not be supported.

        Best regards,
        -ChrisL
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          Regarding your reply , for ImmediatelySubmit.

          I know it have 2 types which are :
          - ImmediatelySubmit
          - ImmediatelySubmit with snychronize aacount.

          Should I use first one or second one ??

          Comment


            #6
            Hi cincai,

            If you do not want to sync the positions you would want to use ImmediatelySubmit.

            Best regards.
            Chris L.NinjaTrader Customer Service

            Comment


              #7
              OK, Thank you.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by GLFX005, Today, 03:23 AM
              0 responses
              1 view
              0 likes
              Last Post GLFX005
              by GLFX005
               
              Started by XXtrader, Yesterday, 11:30 PM
              2 responses
              11 views
              0 likes
              Last Post XXtrader  
              Started by Waxavi, Today, 02:10 AM
              0 responses
              6 views
              0 likes
              Last Post Waxavi
              by Waxavi
               
              Started by TradeForge, Today, 02:09 AM
              0 responses
              11 views
              0 likes
              Last Post TradeForge  
              Started by Waxavi, Today, 02:00 AM
              0 responses
              2 views
              0 likes
              Last Post Waxavi
              by Waxavi
               
              Working...
              X