Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

export orders

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

    export orders

    Erick

    Thanks for the info...

    I want to export the orders which are submitted during live market from the control panel and submit them during the playback,

    is there way to automate this Or I have to do manually ?

    #2
    Hello Kdevineni,

    Thank you for your post.

    I have created a new thread for this inquiry in the General Development section of the forum.

    You could write the order time, type, and action to a text file with StreamWriter. Then, in your script you could read the file with StreamReader and check if the bar time matches the order time and if so, submit and order with the same type and action.

    StreamReader - https://ninjatrader.com/support/help...o_read_fro.htm
    StreamWriter - https://ninjatrader.com/support/help...o_write_to.htm

    However, please note strategies are not designed to work that way. The conditions should be submitted orders based on the same data in realtime and in Playback with Market Replay.

    Please let us know if you have any further questions. ​

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    563 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    329 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X