Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnExecution OrderState

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

    OnExecution OrderState

    Hello,

    I am testing scriptstrategies with playback connection. I have the output window, the controlcenter and the code in onexecution in one screenshot. One can see in Orderstab that the entryOrderLd1a is filled. In OnExecution I have the PrintStatement to check in output window. But output window doesn´t show the execution. Also my variables are not calculated.
    The entry is done with entryOrderLd1a=EnterLongLimit(4,true,1,GetCurrentA sk(), "Ld1a");

    Might be the reason that entry is with BIP4 and not BIP0? If so, what has to be changed in Onexecution so that it is woking also for calculating the variables?

    Thank you!
    Tony
    Attached Files

    #2
    Hi tonynt, thanks for your note.

    The order should still show up in OnExecutionUpdate. To make sure you have the right Order handle you must use the "Name" of the execution, this will match up with the signal name that you give your order. See here for an example that handles orders in this way and replicate this:



    Please let me know if I can assist any further.

    Comment


      #3
      Hello,

      yes, of course, therefore I have in one screenshot to see that I use the "entryOrderLd1a" in the code and this is executed but doesnt show up in output window.
      What is wrong there please? As it is the same here to see in the screenshot I ask if the different dataseries might be the reason (or the order handling in playback? - state realtime?)

      Now, after hours of testing to find the reason I move from playback to simulated datafeed and all is working as it should.
      I wrote "...with playback connection..." and you reply me simply with posting the link above.


      Tony
      Last edited by tonynt; 02-16-2020, 03:11 AM. Reason: typo

      Comment


        #4
        Hi tonynt, thanks for your reply.

        I would not expect any behavior to be different between playback and a live data feed behavior, If there is then it would be a bug we would need to look into. If you could make a reduced script that demonstrates an issue I would be happy to test it out.

        Please let me know if I can assist any further.

        Comment


          #5
          Hello,

          it would be easier and better to do a teamviewer session and I show you. Today February 17th would be a good date because of Holidays on exchange.

          Let me know what time is OK for you. Give me 2 times and I will confirm one and send you my teamviewer ID then.


          Best regards
          Tony

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          116 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          61 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          40 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          43 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          82 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X