Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trade Data Export Plugin -- Is it possible?

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

    Trade Data Export Plugin -- Is it possible?

    Hi Everyone,

    I'm trying to figure out if it is possible to have a plugin created for Ninjatrader 8 that can do the following:

    -Record real-time order data, and export it automatically to a .CSV file.
    -The CSV file will update automatically when a trade is entered, and again when the trade is exited

    The plugin would record the following for each order:

    1. Instrument
    2. Market pos. (Buy or Sell)
    3. Qty
    4. Entry price
    5. Exit price
    6. Entry time
    7. Exit time
    8. Profit (+ or -)
    9. ATM Profit Target (In Ticks)
    10. ATM Stop Loss (In Ticks)

    Long story short, the plugin would record my order data every time an order is executed. I know most of that information is currently available using "Trade Performance", but I need something that will also record the Profit Target & Stop Loss used for each trade (ATM), and automatically export it to a realtime CSV file without having to generate a report. Hopefully that makes sense.

    The end goal is to have an external software read the .CSV file data. I just need an efficient way to log orders & targets without having to manually enter each one in a spreadsheet.

    I wanted to get some opinions before I contacted developers to have it made.

    Thoughts?

    #2
    Hello Tartagliagroup,

    Thank you for the post.

    What you have described is certainly possible from NinjaScript. NinjaScript is C# so writing to file and other file operations are possible. The list of items you want are also things you could collect in various ways depending on the use case.

    If you wanted to go into more detail about how to access that type of data we can however it sounds like you are more looking to know if this is possible or not.

    Please let me know if I may be of additional assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    48 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X