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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    54 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    25 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    17 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    24 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X