Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Example of best method for recalling an executed orders trade price

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

    Example of best method for recalling an executed orders trade price

    I've used Private Series to store values (e.g. the executed trade price) but the issue i'm having is when i've closed out the strategy (e.g. shutdown NT for efficiency maintenance) and then attempt to generate a new (but the same) strategy to return to trading. the stored values are not retained (assumably due to the fact that the strategy is starting anew).

    Should i not be "removing" the strategies upon restart of the system?
    If that's the case, i feel that to be a fragile method of retention and, if so, would there be example of a more definitive way to reference the trade value of a particular execution?

    As always, thank you.

    #2
    Hi larkmail, thanks for posting. The strategy will run through the historical data every time it is restarted, so the values in the Series should be filled during the historical state. So, is the series getting filled with the proper values during the historical state?

    Kind regards,
    -ChrisL

    Comment


      #3
      It populates but i feel it's with a "fresh" (so-to-speak) historical perspective. Best description i could give is when reviewing real-time trades for the day and comparing them to the same time period within the Strategy Analyzer". They're close but not identical.

      L

      Comment


        #4
        Hi larkmail, thanks for your reply.

        If you need to save data between strategy instances it will need to be saved to the disk in the form of a .txt file, then the data can be accessed at a later time. We have an example of file IO here:


        Kind regards,
        -ChrisL

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        93 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        138 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        123 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        73 views
        0 likes
        Last Post PaulMohn  
        Working...
        X